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 ClassesNested 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 LocalAuthenticationResultfailed()static LocalAuthenticationResultstatic LocalAuthenticationResultfailed(Exception cause, AuthenticationResult.DenyReason denyReason) static LocalAuthenticationResultstatic LocalAuthenticationResultfailed(AuthenticationResult.ResolvableError error, Exception cause) static LocalAuthenticationResultfailed(AuthenticationResult.ResolvableError error, Exception cause, AuthenticationResult.DenyReason denyReason) static LocalAuthenticationResultfailed(AuthenticationResult.ResolvableError error, AuthenticationResult.DenyReason denyReason) booleanisRemote()static LocalAuthenticationResultstatic LocalAuthenticationResultsuccessful(AuthenticatedEntity authenticatedEntity, pl.edu.icm.unity.base.authn.AuthenticationMethod authenticationMethod) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
public static LocalAuthenticationResult successful(AuthenticatedEntity authenticatedEntity, pl.edu.icm.unity.base.authn.AuthenticationMethod authenticationMethod) -
isRemote
public boolean isRemote()- Specified by:
isRemotein interfaceAuthenticationResult
-
getStatus
- Specified by:
getStatusin interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResultin interfaceAuthenticationResult
-
getNotApplicableResult
-
getErrorResult
- Specified by:
getErrorResultin interfaceAuthenticationResult
-
toStringFull
- Specified by:
toStringFullin interfaceAuthenticationResult
-
toString
-
getDenyReason
- Specified by:
getDenyReasonin interfaceAuthenticationResult
-