Class LocalAuthenticationResult
java.lang.Object
pl.edu.icm.unity.engine.api.authn.LocalAuthenticationResult
- All Implemented Interfaces:
AuthenticationResult
This class object is returned by local authenticator with information about authentication result.
-
Nested Class Summary
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
AuthenticationResult.DenyReason, AuthenticationResult.ErrorResult, AuthenticationResult.ResolvableError, AuthenticationResult.Status, AuthenticationResult.SuccessResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalAuthenticationResult
failed()
static LocalAuthenticationResult
static LocalAuthenticationResult
failed
(Exception cause, AuthenticationResult.DenyReason denyReason) static LocalAuthenticationResult
static LocalAuthenticationResult
failed
(AuthenticationResult.ResolvableError error, Exception cause) static LocalAuthenticationResult
failed
(AuthenticationResult.ResolvableError error, Exception cause, AuthenticationResult.DenyReason denyReason) static LocalAuthenticationResult
failed
(AuthenticationResult.ResolvableError error, AuthenticationResult.DenyReason denyReason) boolean
isRemote()
static LocalAuthenticationResult
static LocalAuthenticationResult
successful
(AuthenticatedEntity authenticatedEntity) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
asLocal, asRemote
-
Method Details
-
failed
-
failed
-
failed
public static LocalAuthenticationResult failed(Exception cause, AuthenticationResult.DenyReason denyReason) -
failed
-
failed
public static LocalAuthenticationResult failed(AuthenticationResult.ResolvableError error, AuthenticationResult.DenyReason denyReason) -
failed
public static LocalAuthenticationResult failed(AuthenticationResult.ResolvableError error, Exception cause, AuthenticationResult.DenyReason denyReason) -
failed
public static LocalAuthenticationResult failed(AuthenticationResult.ResolvableError error, Exception cause) -
notApplicable
-
successful
-
isRemote
public boolean isRemote()- Specified by:
isRemote
in interfaceAuthenticationResult
-
getStatus
- Specified by:
getStatus
in interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResult
in interfaceAuthenticationResult
-
getNotApplicableResult
-
getErrorResult
- Specified by:
getErrorResult
in interfaceAuthenticationResult
-
toStringFull
- Specified by:
toStringFull
in interfaceAuthenticationResult
-
toString
-
getDenyReason
- Specified by:
getDenyReason
in interfaceAuthenticationResult
-