org.eclipse.higgins.saml2idp.test
Class Init

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.eclipse.higgins.saml2idp.test.Init
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Init
extends javax.servlet.http.HttpServlet
implements javax.servlet.Servlet

Servlet implementation class for Servlet: Init

See Also:
Serialized Form

Constructor Summary
Init()
           
 
Method Summary
static X509Certificate getIdpCertificate()
          Returns the certificate used to validate SAML2 messages.
static PublicKey getIdpPublicKey()
          Returns the public key used to validate SAML2 messages.
static boolean getMinimal()
          Returns whether minimal request mode is desired.
static Properties getProperties()
          Returns the application properties.
static X509Certificate getRpCertificate()
          Returns the certificate used for the KeyInfo element in XML Signatures.
static PrivateKey getRpPrivateKey()
          Returns the private key used to sign SAML2 messages.
static PublicKey getRpPublicKey()
          Returns the public key used for the KeyInfo element in XML Signatures.
static String getSAML2IdPEndpoint()
          Returns the SAML2 IdP endpoint to be used.
static String getSAML2Issuer()
          Returns the SAML2 issuer.
static String getSAML2ProviderName()
          Returns the SAML2 provider name.
static String getSAML2SPEndpoint()
          Returns the SAML2 SP endpoint to be used.
 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
 

Constructor Detail

Init

public Init()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getProperties

public static Properties getProperties()
Returns the application properties.


getMinimal

public static boolean getMinimal()
Returns whether minimal request mode is desired.


getSAML2IdPEndpoint

public static String getSAML2IdPEndpoint()
Returns the SAML2 IdP endpoint to be used.


getSAML2SPEndpoint

public static String getSAML2SPEndpoint()
Returns the SAML2 SP endpoint to be used.


getSAML2ProviderName

public static String getSAML2ProviderName()
Returns the SAML2 provider name.


getSAML2Issuer

public static String getSAML2Issuer()
Returns the SAML2 issuer.


getRpPrivateKey

public static PrivateKey getRpPrivateKey()
Returns the private key used to sign SAML2 messages.


getRpCertificate

public static X509Certificate getRpCertificate()
Returns the certificate used for the KeyInfo element in XML Signatures.


getRpPublicKey

public static PublicKey getRpPublicKey()
Returns the public key used for the KeyInfo element in XML Signatures.


getIdpCertificate

public static X509Certificate getIdpCertificate()
Returns the certificate used to validate SAML2 messages.


getIdpPublicKey

public static PublicKey getIdpPublicKey()
Returns the public key used to validate SAML2 messages.