Package org.acegisecurity
Interface Authentication
-
- All Superinterfaces:
Principal,Serializable
- All Known Implementing Classes:
AbstractAuthenticationToken,AnonymousAuthenticationToken,UsernamePasswordAuthenticationToken
@Deprecated public interface Authentication extends Principal, Serializable
Deprecated.useAuthentication
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static AuthenticationfromSpring(org.springframework.security.core.Authentication a)Deprecated.GrantedAuthority[]getAuthorities()Deprecated.ObjectgetCredentials()Deprecated.ObjectgetDetails()Deprecated.ObjectgetPrincipal()Deprecated.booleanisAuthenticated()Deprecated.voidsetAuthenticated(boolean isAuthenticated)Deprecated.default org.springframework.security.core.AuthenticationtoSpring()Deprecated.
-
-
-
Method Detail
-
getAuthorities
GrantedAuthority[] getAuthorities()
Deprecated.
-
getCredentials
Object getCredentials()
Deprecated.
-
getDetails
Object getDetails()
Deprecated.
-
getPrincipal
Object getPrincipal()
Deprecated.
-
isAuthenticated
boolean isAuthenticated()
Deprecated.
-
setAuthenticated
void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentExceptionDeprecated.- Throws:
IllegalArgumentException
-
fromSpring
@NonNull static Authentication fromSpring(@NonNull org.springframework.security.core.Authentication a)
Deprecated.
-
toSpring
@NonNull default org.springframework.security.core.Authentication toSpring()
Deprecated.
-
-