Class SandboxAuthenticationResult
java.lang.Object
pl.edu.icm.unity.engine.api.authn.sandbox.SandboxAuthenticationResult
- All Implemented Interfaces:
AuthenticationResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
AuthenticationResult.DenyReason, AuthenticationResult.ErrorResult, AuthenticationResult.ResolvableError, AuthenticationResult.Status, AuthenticationResult.SuccessResult
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSandboxAuthenticationResult
(AuthenticationResult base, SandboxAuthnContext sandboxAuthnInfo) -
Method Summary
Modifier and TypeMethodDescriptionasRemote()
static SandboxAuthenticationResult
We have two cases (what is sort of design flaw): we can get sandbox result directly (a typical case) or we can get LocalAuthnResult, in case when we have sandbox authn in account association flow, and user needs to provide existing account to associate unknwon remote with it.boolean
isRemote()
toString()
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
-
Field Details
-
sandboxAuthnInfo
-
-
Constructor Details
-
SandboxAuthenticationResult
-
-
Method Details
-
getInstanceFromResult
We have two cases (what is sort of design flaw): we can get sandbox result directly (a typical case) or we can get LocalAuthnResult, in case when we have sandbox authn in account association flow, and user needs to provide existing account to associate unknwon remote with it. -
getStatus
- Specified by:
getStatus
in interfaceAuthenticationResult
-
isRemote
public boolean isRemote()- Specified by:
isRemote
in interfaceAuthenticationResult
-
toStringFull
- Specified by:
toStringFull
in interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResult
in interfaceAuthenticationResult
-
getErrorResult
- Specified by:
getErrorResult
in interfaceAuthenticationResult
-
toString
-
asRemote
- Specified by:
asRemote
in interfaceAuthenticationResult
-
getDenyReason
- Specified by:
getDenyReason
in interfaceAuthenticationResult
-