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 class
LocalAuthenticationResult.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 LocalAuthenticationResult
failed()
static LocalAuthenticationResult
failed(Exception cause)
static LocalAuthenticationResult
failed(AuthenticationResult.ResolvableError error)
static LocalAuthenticationResult
failed(AuthenticationResult.ResolvableError error, Exception cause)
AuthenticationResult.ErrorResult
getErrorResult()
LocalAuthenticationResult.NotApplicableResult
getNotApplicableResult()
AuthenticationResult.Status
getStatus()
AuthenticationResult.SuccessResult
getSuccessResult()
boolean
isRemote()
static LocalAuthenticationResult
notApplicable()
static LocalAuthenticationResult
successful(AuthenticatedEntity authenticatedEntity)
String
toString()
String
toStringFull()
-
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:
isRemote
in interfaceAuthenticationResult
-
getStatus
public AuthenticationResult.Status getStatus()
- Specified by:
getStatus
in interfaceAuthenticationResult
-
getSuccessResult
public AuthenticationResult.SuccessResult getSuccessResult()
- Specified by:
getSuccessResult
in interfaceAuthenticationResult
-
getNotApplicableResult
public LocalAuthenticationResult.NotApplicableResult getNotApplicableResult()
-
getErrorResult
public AuthenticationResult.ErrorResult getErrorResult()
- Specified by:
getErrorResult
in interfaceAuthenticationResult
-
toStringFull
public String toStringFull()
- Specified by:
toStringFull
in interfaceAuthenticationResult
-
-