|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.idp.authn.LoginContext
edu.internet2.middleware.shibboleth.idp.authn.Saml2LoginContext
public class Saml2LoginContext
A SAML 2.0 LoginContext.
This class can interpret RequestedAuthnContext and act accordingly.
| Field Summary |
|---|
| Fields inherited from class edu.internet2.middleware.shibboleth.idp.authn.LoginContext |
|---|
LOGIN_CONTEXT_KEY |
| Constructor Summary | |
|---|---|
Saml2LoginContext(String relyingParty,
String state,
org.opensaml.saml2.core.AuthnRequest request)
Creates a new instance of Saml2LoginContext. |
|
| Method Summary | |
|---|---|
protected List<String> |
extractRequestedAuthenticationMethods(org.opensaml.saml2.core.AuthnRequest request)
Extracts the authentication methods requested within the request. |
String |
getAuthenticationRequest()
Gets the serialized authentication request that started the login process. |
String |
getRelayState()
Gets the relay state from the originating authentication request. |
protected String |
serializeRequest(org.opensaml.saml2.core.AuthnRequest request)
Serializes an authentication request into a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Saml2LoginContext(String relyingParty,
String state,
org.opensaml.saml2.core.AuthnRequest request)
throws org.opensaml.xml.io.MarshallingException
relyingParty - entity ID of the relying partystate - relay state from incoming authentication requestrequest - SAML 2.0 Authentication Request
org.opensaml.xml.io.MarshallingException - thrown if the given request can not be marshalled and serialized into a string| Method Detail |
|---|
public String getAuthenticationRequest()
throws org.opensaml.xml.io.UnmarshallingException
org.opensaml.xml.io.UnmarshallingException - thrown if the serialized form on the authentication request can be unmarshalledpublic String getRelayState()
protected String serializeRequest(org.opensaml.saml2.core.AuthnRequest request)
throws org.opensaml.xml.io.MarshallingException
request - the request to serialize
org.opensaml.xml.io.MarshallingException - thrown if the request can not be marshalled and serializedprotected List<String> extractRequestedAuthenticationMethods(org.opensaml.saml2.core.AuthnRequest request)
request - the authentication request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||