Class PlatformAuthenticationManager
java.lang.Object
com.cloudimpl.outstack.spring.security.PlatformAuthenticationManager
- All Implemented Interfaces:
org.springframework.security.authentication.ReactiveAuthenticationManager
- Direct Known Subclasses:
BasicTokenAuthenticationManager,BearerTokenAuthenticationManager
public abstract class PlatformAuthenticationManager
extends java.lang.Object
implements org.springframework.security.authentication.ReactiveAuthenticationManager
- Author:
- nuwan
-
Constructor Summary
Constructors Constructor Description PlatformAuthenticationManager(AuthenticationProvider authenticationProvider, AuthorizationProvider authorizationProvider, TokenProvider tokenProvider) -
Method Summary
Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.security.core.Authentication>authenticate(org.springframework.security.core.Authentication authentication)protected abstract reactor.core.publisher.Mono<PlatformAuthenticationToken>convertToPlatformToken(org.springframework.security.core.Authentication autentication)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PlatformAuthenticationManager
public PlatformAuthenticationManager(@Autowired(required=false) AuthenticationProvider authenticationProvider, @Autowired(required=false) AuthorizationProvider authorizationProvider, @Autowired(required=false) TokenProvider tokenProvider)
-
-
Method Details
-
authenticate
public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> authenticate(org.springframework.security.core.Authentication authentication)- Specified by:
authenticatein interfaceorg.springframework.security.authentication.ReactiveAuthenticationManager
-
convertToPlatformToken
protected abstract reactor.core.publisher.Mono<PlatformAuthenticationToken> convertToPlatformToken(org.springframework.security.core.Authentication autentication)
-