Package ch.tocco.nice2.security.api.auth
Class AuthenticationResult
java.lang.Object
ch.tocco.nice2.security.api.auth.AuthenticationResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationResult
static AuthenticationResult
authenticated
(String username) static AuthenticationResult
authenticatedWithoutCookie
(String username) boolean
static AuthenticationResult
fromPrincipal
(Principal principal) @Nullable Object
getAttribute
(String key) int
hashCode()
boolean
setAttribute
(String key, @Nullable Object value) boolean
-
Method Details
-
anonymous
-
authenticated
-
authenticatedWithoutCookie
-
fromPrincipal
-
isAnonymous
public boolean isAnonymous() -
getUsername
-
getAttributes
-
getAttribute
-
setAttribute
-
withAuthCookie
public boolean withAuthCookie() -
equals
-
hashCode
public int hashCode()
-