Class LocalAuthenticationResult
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.LocalAuthenticationResult
-
- All Implemented Interfaces:
AuthenticationResult
public class LocalAuthenticationResult extends Object implements AuthenticationResult
This class object is returned by local authenticator with information about authentication result.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalAuthenticationResult.NotApplicableResult-
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
AuthenticationResult.ErrorResult, AuthenticationResult.ResolvableError, AuthenticationResult.Status, AuthenticationResult.SuccessResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalAuthenticationResultfailed()static LocalAuthenticationResultfailed(Exception cause)static LocalAuthenticationResultfailed(AuthenticationResult.ResolvableError error)static LocalAuthenticationResultfailed(AuthenticationResult.ResolvableError error, Exception cause)AuthenticationResult.ErrorResultgetErrorResult()LocalAuthenticationResult.NotApplicableResultgetNotApplicableResult()AuthenticationResult.StatusgetStatus()AuthenticationResult.SuccessResultgetSuccessResult()booleanisRemote()static LocalAuthenticationResultnotApplicable()static LocalAuthenticationResultsuccessful(AuthenticatedEntity authenticatedEntity)StringtoString()StringtoStringFull()-
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 Detail
-
failed
public static LocalAuthenticationResult failed()
-
failed
public static LocalAuthenticationResult failed(Exception cause)
-
failed
public static LocalAuthenticationResult failed(AuthenticationResult.ResolvableError error)
-
failed
public static LocalAuthenticationResult failed(AuthenticationResult.ResolvableError error, Exception cause)
-
notApplicable
public static LocalAuthenticationResult notApplicable()
-
successful
public static LocalAuthenticationResult successful(AuthenticatedEntity authenticatedEntity)
-
isRemote
public boolean isRemote()
- Specified by:
isRemotein interfaceAuthenticationResult
-
getStatus
public AuthenticationResult.Status getStatus()
- Specified by:
getStatusin interfaceAuthenticationResult
-
getSuccessResult
public AuthenticationResult.SuccessResult getSuccessResult()
- Specified by:
getSuccessResultin interfaceAuthenticationResult
-
getNotApplicableResult
public LocalAuthenticationResult.NotApplicableResult getNotApplicableResult()
-
getErrorResult
public AuthenticationResult.ErrorResult getErrorResult()
- Specified by:
getErrorResultin interfaceAuthenticationResult
-
toStringFull
public String toStringFull()
- Specified by:
toStringFullin interfaceAuthenticationResult
-
-