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
Modifier and TypeClassDescriptionstatic class
static class
static class
Nested 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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteAuthenticationResult
failed()
static RemoteAuthenticationResult
static RemoteAuthenticationResult
failed
(RemotelyAuthenticatedPrincipal remotePrincipal, Exception cause, AuthenticationResult.ResolvableError error) static RemoteAuthenticationResult
failed
(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticationResult.ResolvableError error) boolean
isRemote()
static RemoteAuthenticationResult
static RemoteAuthenticationResult
successful
(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) static RemoteAuthenticationResult
successfulPartial
(RemotelyAuthenticatedPrincipal remotePrincipal, AuthenticatedEntity authenticatedEntity) toString()
static RemoteAuthenticationResult
unknownRemotePrincipal
(RemotelyAuthenticatedPrincipal remotePrincipal, String formForUnknownPrincipal, boolean enableAssociation) 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
-
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:
getStatus
in interfaceAuthenticationResult
-
isRemote
public boolean isRemote()- Specified by:
isRemote
in interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResult
in interfaceAuthenticationResult
-
getNotApplicableResult
-
getUnknownRemotePrincipalResult
-
getErrorResult
- Specified by:
getErrorResult
in interfaceAuthenticationResult
-
getRemotelyAuthenticatedPrincipal
-
toStringFull
- Specified by:
toStringFull
in interfaceAuthenticationResult
-
toString
-
getDenyReason
- Specified by:
getDenyReason
in interfaceAuthenticationResult
-