public class Saml2Client extends BaseClient<Saml2Credentials,Saml2Profile>
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
static String |
SAML_METADATA_KEY_INFO_GENERATOR |
static String |
SAML_RELAY_STATE_ATTRIBUTE |
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, NEEDS_CLIENT_REDIRECTION_PARAMETER| Constructor and Description |
|---|
Saml2Client() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComparisonType() |
String |
getDestinationBindingType() |
protected String |
getIdpEntityId(org.opensaml.xml.XMLObject md) |
Mechanism |
getMechanism() |
protected String |
getStateParameter(WebContext webContext) |
protected org.opensaml.xml.XMLObject |
getXmlObject(org.opensaml.saml2.metadata.provider.AbstractMetadataProvider idpMetadataProvider) |
protected org.opensaml.saml2.metadata.provider.AbstractMetadataProvider |
idpMetadataProvider(org.opensaml.xml.parse.ParserPool parserPool) |
protected void |
internalInit() |
protected boolean |
isDirectRedirection() |
boolean |
isForceAuth() |
protected BaseClient<Saml2Credentials,Saml2Profile> |
newClient() |
protected org.opensaml.xml.parse.StaticBasicParserPool |
newStaticBasicParserPool() |
String |
printClientMetadata() |
protected Saml2Credentials |
retrieveCredentials(WebContext wc) |
protected RedirectAction |
retrieveRedirectAction(WebContext wc) |
protected Saml2Profile |
retrieveUserProfile(Saml2Credentials credentials,
WebContext context) |
void |
setComparisonType(String comparisonType) |
void |
setDestinationBindingType(String destinationBindingType) |
void |
setForceAuth(boolean forceAuth) |
void |
setIdpEntityId(String idpEntityId) |
void |
setIdpMetadata(String idpMetadata) |
void |
setIdpMetadataPath(String idpMetadataPath) |
void |
setKeystorePassword(String keystorePassword) |
void |
setKeystorePath(String keystorePath) |
void |
setMaximumAuthenticationLifetime(Integer maximumAuthenticationLifetime) |
void |
setPrivateKeyPassword(String privateKeyPassword) |
void |
setSpEntityId(String spEntityId) |
addAuthorizationGenerator, clone, getAuthorizationGenerators, getCallbackUrl, getContextualCallbackUrl, getCredentials, getName, getRedirectAction, getRedirectionUrl, getUserProfile, isEnableContextualRedirects, prependHostToUrlIfNotPresent, redirect, setAuthorizationGenerator, setAuthorizationGenerators, setCallbackUrl, setEnableContextualRedirects, setName, toStringinit, reinitprotected static final org.slf4j.Logger logger
public static final String SAML_METADATA_KEY_INFO_GENERATOR
public static final String SAML_RELAY_STATE_ATTRIBUTE
protected void internalInit()
internalInit in class InitializableObjectprotected BaseClient<Saml2Credentials,Saml2Profile> newClient()
newClient in class BaseClient<Saml2Credentials,Saml2Profile>protected boolean isDirectRedirection()
isDirectRedirection in class BaseClient<Saml2Credentials,Saml2Profile>protected RedirectAction retrieveRedirectAction(WebContext wc)
retrieveRedirectAction in class BaseClient<Saml2Credentials,Saml2Profile>protected Saml2Credentials retrieveCredentials(WebContext wc) throws RequiresHttpAction
retrieveCredentials in class BaseClient<Saml2Credentials,Saml2Profile>RequiresHttpActionprotected org.opensaml.xml.parse.StaticBasicParserPool newStaticBasicParserPool()
protected org.opensaml.saml2.metadata.provider.AbstractMetadataProvider idpMetadataProvider(org.opensaml.xml.parse.ParserPool parserPool)
protected org.opensaml.xml.XMLObject getXmlObject(org.opensaml.saml2.metadata.provider.AbstractMetadataProvider idpMetadataProvider)
protected String getIdpEntityId(org.opensaml.xml.XMLObject md)
protected Saml2Profile retrieveUserProfile(Saml2Credentials credentials, WebContext context)
retrieveUserProfile in class BaseClient<Saml2Credentials,Saml2Profile>protected String getStateParameter(WebContext webContext)
getStateParameter in class BaseClient<Saml2Credentials,Saml2Profile>public Mechanism getMechanism()
getMechanism in class BaseClient<Saml2Credentials,Saml2Profile>public void setIdpMetadata(String idpMetadata)
public void setIdpMetadataPath(String idpMetadataPath)
public void setIdpEntityId(String idpEntityId)
public void setSpEntityId(String spEntityId)
public void setKeystorePath(String keystorePath)
public void setKeystorePassword(String keystorePassword)
public void setPrivateKeyPassword(String privateKeyPassword)
public void setMaximumAuthenticationLifetime(Integer maximumAuthenticationLifetime)
public String printClientMetadata()
public boolean isForceAuth()
public void setForceAuth(boolean forceAuth)
forceAuth - the forceAuth to setpublic String getComparisonType()
public void setComparisonType(String comparisonType)
comparisonType - the comparisonType to setpublic String getDestinationBindingType()
public void setDestinationBindingType(String destinationBindingType)
destinationBindingType - the destinationBindingType to setCopyright © 2014. All rights reserved.