|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.higgins.saml2idp.server.Init
This servlet overrides only the init() method and is used to initialize common objects of our web application. In particular, it loads the Higgins configuration and starts up Higgins-related components. Static getter methods are provided for retrieving these components.
| Field Summary | |
|---|---|
static String |
AUTHN_MODE_CARD
|
static String |
AUTHN_MODE_CONTEXT
|
static String |
DEFAULT_AUTHN_MODE
|
| Constructor Summary | |
|---|---|
Init()
|
|
| Method Summary | |
|---|---|
static Set |
getAcceptAcsUrls()
Returns the acceptable ACS URLs. |
static String |
getAuthnMode()
Returns the authentication mode ("context" or "card") |
static ICardHandler |
getCardHandler()
Returns the ICardHandler that can map cards to SAML subjects. |
static String |
getExtractUsernameCookieName()
Returns the name of the cookie from which a username should be extracted. |
static String |
getExtractUsernameHeaderName()
Returns the name of the header from which a username should be extracted. |
static String |
getExtractUsernameParameterName()
Returns the name of the parameter from which a username should be extracted. |
static Map |
getHigginsConfigurationSettings()
Returns the Higgins configuration settings. |
static org.eclipse.higgins.idas.api.IContextFactory |
getHigginsContextFactory()
Returns the Higgins IContextFactory that can instantiate the context we validate against. |
static org.eclipse.higgins.idas.api.IContextId |
getHigginsContextId()
Returns the Higgins context ID for the context we validate against. |
static String |
getHigginsContextType()
Returns the Higgins context type for the context we validate against. |
static org.eclipse.higgins.idas.registry.IdASRegistry |
getHigginsRegistry()
Returns the Higgins IdASRegistry. |
static org.eclipse.higgins.sts.api.ISecurityTokenService |
getHigginsStsSecurityTokenService()
|
static org.eclipse.higgins.sts.api.ISecurityTokenService |
getHigginsStsSecurityTokenServiceBinding()
|
static org.eclipse.higgins.sts.spi.IXMLSecurityExtension |
getHigginsStsXmlSecurityExtension()
|
static X509Certificate |
getIdpCertificate()
Returns the certificate used for the KeyInfo element in XML Signatures. |
static PrivateKey |
getIdpPrivateKey()
Returns the private key used to sign SAML2 messages. |
static PublicKey |
getIdpPublicKey()
Returns the public key used for the KeyInfo element in XML Signatures. |
static String |
getKeyStoreAlias()
Returns the KeyStore alias for decrypting tokens. |
static String |
getKeyStoreName()
Returns the KeyStore name for decrypting tokens. |
static String |
getKeyStorePw()
Returns the KeyStore pw for decrypting tokens. |
static String |
getKeyStoreType()
Returns the KeyStore type for decrypting tokens. |
static Properties |
getProperties()
Returns the application properties. |
static X509Certificate[] |
getRpCertificates()
Returns the certificates used to validate SAML2 messages. |
static PublicKey[] |
getRpPublicKeys()
Returns the public keys used to validate SAML2 messages. |
static long |
getSAML2AssertionValidityMillis()
Returns the validity period of issued SAML2 assertions. |
static String |
getSAML2IdPEndpoint()
Returns the SAML2 IdP endpoint to be used. |
static String |
getSAML2Issuer()
Returns the SAML2 issuer. |
static boolean |
getUseSts()
Returns the flag whether to use the STS. |
void |
init()
|
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Servlet |
|---|
destroy, getServletConfig, getServletInfo, init, service |
| Field Detail |
public static final String AUTHN_MODE_CONTEXT
public static final String AUTHN_MODE_CARD
public static final String DEFAULT_AUTHN_MODE
| Constructor Detail |
public Init()
| Method Detail |
public void init()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic static Properties getProperties()
public static String getSAML2IdPEndpoint()
public static String getSAML2Issuer()
public static long getSAML2AssertionValidityMillis()
public static String getExtractUsernameParameterName()
public static String getExtractUsernameHeaderName()
public static String getExtractUsernameCookieName()
public static PrivateKey getIdpPrivateKey()
public static X509Certificate getIdpCertificate()
public static PublicKey getIdpPublicKey()
public static X509Certificate[] getRpCertificates()
public static PublicKey[] getRpPublicKeys()
public static Set getAcceptAcsUrls()
public static boolean getUseSts()
public static String getAuthnMode()
public static ICardHandler getCardHandler()
public static String getKeyStoreName()
public static String getKeyStorePw()
public static String getKeyStoreType()
public static String getKeyStoreAlias()
public static Map getHigginsConfigurationSettings()
public static org.eclipse.higgins.idas.registry.IdASRegistry getHigginsRegistry()
public static org.eclipse.higgins.idas.api.IContextId getHigginsContextId()
public static String getHigginsContextType()
public static org.eclipse.higgins.idas.api.IContextFactory getHigginsContextFactory()
public static org.eclipse.higgins.sts.api.ISecurityTokenService getHigginsStsSecurityTokenService()
public static org.eclipse.higgins.sts.api.ISecurityTokenService getHigginsStsSecurityTokenServiceBinding()
public static org.eclipse.higgins.sts.spi.IXMLSecurityExtension getHigginsStsXmlSecurityExtension()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||