Class RemoteSandboxAuthnContext
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.remote.RemoteSandboxAuthnContext
-
- All Implemented Interfaces:
SandboxAuthnContext
public class RemoteSandboxAuthnContext extends java.lang.Object implements SandboxAuthnContext
Stores full information on the remote sandboxed authentication. EitherRemotelyAuthenticatedContext
is provided (successful authN) or exception with unprocessedRemotelyAuthenticatedInput
. The most of the information is in authnContext, which is enriched with logs and potential error. User should be careful when using the authnResult. It may happen that many of the fields are not initialized in case of authentication failure.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description RemoteSandboxAuthnContext(java.lang.Exception authnException, java.lang.String logs, RemotelyAuthenticatedInput input)
RemoteSandboxAuthnContext(RemotelyAuthenticatedContext authnResult, java.lang.String logs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemotelyAuthenticatedContext
getAuthnContext()
java.lang.Exception
getAuthnException()
java.lang.String
getLogs()
-
-
-
Constructor Detail
-
RemoteSandboxAuthnContext
public RemoteSandboxAuthnContext(RemotelyAuthenticatedContext authnResult, java.lang.String logs)
-
RemoteSandboxAuthnContext
public RemoteSandboxAuthnContext(java.lang.Exception authnException, java.lang.String logs, RemotelyAuthenticatedInput input)
-
-
Method Detail
-
getAuthnContext
public RemotelyAuthenticatedContext getAuthnContext()
-
getAuthnException
public java.lang.Exception getAuthnException()
-
getLogs
public java.lang.String getLogs()
-
-