public final class ExternalAuthenticationContext
extends org.opensaml.messaging.context.BaseContext
| Modifier and Type | Field and Description |
|---|---|
private String |
authnError
Error message.
|
private Exception |
authnException
Exception.
|
private DateTime |
authnInstant
Time of authentication.
|
private boolean |
doNotCache
Flag preventing caching of result for SSO.
|
private String |
flowExecutionUrl
Value of flowExecutionUrl on branching from flow.
|
private Principal |
principal
A
Principal that was authenticated. |
private String |
principalName
Name of a principal that was authenticated.
|
private Subject |
subject
Name of a
Subject that was authenticated. |
| Constructor and Description |
|---|
ExternalAuthenticationContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doNotCache()
Get the "do not cache" flag.
|
String |
getAuthnError()
Get an error message from the authentication process.
|
Exception |
getAuthnException()
Get an exception from the authentication process.
|
DateTime |
getAuthnInstant()
Get the time of authentication.
|
String |
getFlowExecutionUrl()
Get the flow execution URL to return control to.
|
Principal |
getPrincipal()
Get a
Principal that was authenticated. |
String |
getPrincipalName()
Get the name of a principal that was authenticated.
|
Subject |
getSubject()
Get a
Subject that was authenticated. |
void |
setAuthnError(String message)
Set an error message from the authentication process.
|
void |
setAuthnException(Exception exception)
Set an exception from the authentication process.
|
void |
setAuthnInstant(DateTime instant)
Set the time of authentication.
|
void |
setDoNotCache(boolean flag)
Set the "do not cache" flag.
|
void |
setFlowExecutionUrl(String url)
Set the flow execution URL to return control to.
|
void |
setPrincipal(Principal prin)
Set a
Principal that was authenticated. |
void |
setPrincipalName(String name)
Set the name of a principal that was authenticated.
|
void |
setSubject(Subject sub)
Set a
Subject that was authenticated. |
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nullable private String flowExecutionUrl
private boolean doNotCache
@Nullable public String getFlowExecutionUrl()
public void setFlowExecutionUrl(@Nullable String url)
url - return location@Nullable public Principal getPrincipal()
Principal that was authenticated.public void setPrincipal(@Nullable Principal prin)
Principal that was authenticated.prin - principal to set@Nullable public String getPrincipalName()
public void setPrincipalName(@Nullable String name)
name - name of principal to set@Nullable public Subject getSubject()
Subject that was authenticated.public void setSubject(@Nullable Subject sub)
Subject that was authenticated.sub - The subject to set.@Nullable public DateTime getAuthnInstant()
public void setAuthnInstant(DateTime instant)
instant - time of authentication to set@Nullable public String getAuthnError()
public void setAuthnError(String message)
message - message to set@Nullable public Exception getAuthnException()
public void setAuthnException(Exception exception)
exception - exception to setpublic boolean doNotCache()
public void setDoNotCache(boolean flag)
flag - flag to setCopyright © 1999–2015. All rights reserved.