Class RemoteAuthenticationResult
java.lang.Object
pl.edu.icm.unity.engine.api.authn.RemoteAuthenticationResult
- All Implemented Interfaces:
AuthenticationResult
This class object is returned by authenticator with information about authentication result.
This cover authentication result of a single authenticator, not the combined result of authentication
with all authenticators in the set.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
AuthenticationResult.DenyReason, AuthenticationResult.ErrorResult, AuthenticationResult.ResolvableError, AuthenticationResult.Status, AuthenticationResult.SuccessResult -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteAuthenticationResultfailed()static RemoteAuthenticationResultstatic RemoteAuthenticationResultfailed(RemotelyAuthenticatedPrincipal remotePrincipal, Exception cause, AuthenticationResult.ResolvableError error) static RemoteAuthenticationResultfailed(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticationResult.ResolvableError error) booleanisRemote()static RemoteAuthenticationResultstatic RemoteAuthenticationResultsuccessful(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) static RemoteAuthenticationResultsuccessfulPartial(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) toString()static RemoteAuthenticationResultunknownRemotePrincipal(RemotelyAuthenticatedPrincipal remotePrincipal, String formForUnknownPrincipal, boolean enableAssociation) 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
-
Constructor Details
-
RemoteAuthenticationResult
-
-
Method Details
-
notApplicable
-
failed
public static RemoteAuthenticationResult failed(RemotelyAuthenticatedPrincipal remotePrincipal, Exception cause, AuthenticationResult.ResolvableError error) -
failed
public static RemoteAuthenticationResult failed(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticationResult.ResolvableError error) -
failed
-
failed
-
successful
public static RemoteAuthenticationResult successful(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) -
successfulPartial
public static RemoteAuthenticationResult successfulPartial(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) -
unknownRemotePrincipal
public static RemoteAuthenticationResult unknownRemotePrincipal(RemotelyAuthenticatedPrincipal remotePrincipal, String formForUnknownPrincipal, boolean enableAssociation) -
getStatus
- Specified by:
getStatusin interfaceAuthenticationResult
-
isRemote
public boolean isRemote()- Specified by:
isRemotein interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResultin interfaceAuthenticationResult
-
getNotApplicableResult
-
getUnknownRemotePrincipalResult
-
getErrorResult
- Specified by:
getErrorResultin interfaceAuthenticationResult
-
getRemotelyAuthenticatedPrincipal
-
toStringFull
- Specified by:
toStringFullin interfaceAuthenticationResult
-
toString
-
getDenyReason
- Specified by:
getDenyReasonin interfaceAuthenticationResult
-