|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectno.feide.moria.store.MoriaAuthnAttempt
public final class MoriaAuthnAttempt
This class is used for holding state through an authentication. From initialization by the service through to final retrieval of user data.
| Field Summary | |
|---|---|
private boolean |
forceInterativeAuthentication
Whether or not single sign-on (SSO) is to be used when user arrives at login servlet. |
private java.lang.String[] |
requestedAttributes
The inital attributes requested by the initiating service. |
private java.lang.String |
returnURLPostfix
The final part of the url the user is to be redirected to. |
private java.lang.String |
returnURLPrefix
The initial part of the url the user is to be redirected to. |
private java.lang.String |
servicePrincipal
Principal for the client that requests the authentication attempt. |
private java.util.HashMap |
transientAttributes
Transient attributes returned from a directory that are not to be cached. |
| Constructor Summary | |
|---|---|
MoriaAuthnAttempt(java.lang.String[] requestedAttributes,
java.lang.String returnURLPrefix,
java.lang.String returnURLPostfix,
boolean forceInteractiveAuthentication,
java.lang.String servicePrincipal)
Constructs an instance. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getRequestedAttributes()
Gets the string array containing the requested attributes. |
java.lang.String |
getReturnURLPostfix()
Gets the end part of the return url. |
java.lang.String |
getReturnURLPrefix()
Gets the initial part of the return url. |
java.lang.String |
getServicePrincipal()
Gets the servicePrincipal. |
java.util.HashMap |
getTransientAttributes()
Gets the transient attributes. |
boolean |
isForceInterativeAuthentication()
Checks whether or not single sign-on (SSO) should be refused even if possible. |
(package private) void |
setTransientAttributes(java.util.HashMap transientAttributes)
Sets the user data that have been retrieved from a directory for this authentication attempt. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.String[] requestedAttributes
private final java.lang.String returnURLPrefix
private final java.lang.String returnURLPostfix
private final boolean forceInterativeAuthentication
private java.util.HashMap transientAttributes
private final java.lang.String servicePrincipal
| Constructor Detail |
|---|
public MoriaAuthnAttempt(java.lang.String[] requestedAttributes,
java.lang.String returnURLPrefix,
java.lang.String returnURLPostfix,
boolean forceInteractiveAuthentication,
java.lang.String servicePrincipal)
requestedAttributes - the attributes the remote service requiresreturnURLPrefix - the initial part of the url the user is to be redirected toreturnURLPostfix - the final part of the url the user is to be redirected to. May be nullforceInteractiveAuthentication - whether or not SSO is to be usedservicePrincipal - the name of the service initiating this authentication attempt.| Method Detail |
|---|
public java.lang.String[] getRequestedAttributes()
public java.util.HashMap getTransientAttributes()
void setTransientAttributes(java.util.HashMap transientAttributes)
transientAttributes - The short-lived user attributes.public java.lang.String getReturnURLPrefix()
public java.lang.String getReturnURLPostfix()
public java.lang.String getServicePrincipal()
public boolean isForceInterativeAuthentication()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||