Class MiddlewareAuthentication
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- org.springframework.security.authentication.UsernamePasswordAuthenticationToken
-
- de.adorsys.ledgers.middleware.rest.security.MiddlewareAuthentication
-
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class MiddlewareAuthentication extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MiddlewareAuthentication(Object principal, BearerTokenTO credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BearerTokenTOgetBearerToken()-
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
eraseCredentials, getCredentials, getPrincipal, setAuthenticated
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
MiddlewareAuthentication
public MiddlewareAuthentication(Object principal, BearerTokenTO credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Detail
-
getBearerToken
public BearerTokenTO getBearerToken()
-
-