org.jboss.identity.federation.bindings.tomcat.sp
Class SPRedirectSignatureFormAuthenticator

java.lang.Object
  extended by org.apache.catalina.valves.ValveBase
      extended by org.apache.catalina.authenticator.AuthenticatorBase
          extended by org.apache.catalina.authenticator.FormAuthenticator
              extended by org.jboss.identity.federation.bindings.tomcat.sp.SPRedirectFormAuthenticator
                  extended by org.jboss.identity.federation.bindings.tomcat.sp.SPRedirectSignatureFormAuthenticator
All Implemented Interfaces:
javax.management.MBeanRegistration, org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve

public class SPRedirectSignatureFormAuthenticator
extends SPRedirectFormAuthenticator

Tomcat Authenticator for the HTTP/Redirect binding with Signature support

Since:
Jan 12, 2009
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.jboss.identity.federation.bindings.tomcat.sp.SPRedirectFormAuthenticator
spConfiguration
 
Fields inherited from class org.apache.catalina.authenticator.FormAuthenticator
characterEncoding, info
 
Fields inherited from class org.apache.catalina.authenticator.AuthenticatorBase
algorithm, cache, context, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, lifecycle, random, randomClass, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, containerLog, controller, domain, mserver, next, oname
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
 
Constructor Summary
SPRedirectSignatureFormAuthenticator()
           
 
Method Summary
protected  ResponseType decryptAssertion(ResponseType responseType)
          Subclasses should provide the implementation
protected  java.lang.String getDestination(java.lang.String urlEncodedRequest, java.lang.String urlEncodedRelayState)
           
 void start()
           
protected  boolean validate(org.apache.catalina.connector.Request request)
           
 
Methods inherited from class org.jboss.identity.federation.bindings.tomcat.sp.SPRedirectFormAuthenticator
authenticate, createSAMLRequestMessage, isTrusted
 
Methods inherited from class org.apache.catalina.authenticator.FormAuthenticator
forwardToErrorPage, forwardToLoginPage, getCharacterEncoding, getInfo, matchRequest, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding
 
Methods inherited from class org.apache.catalina.authenticator.AuthenticatorBase
addLifecycleListener, associate, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getContainer, getDigest, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getSecurePagesWithPragma, invoke, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setContainer, setDisableProxyCaching, setEntropy, setRandomClass, setSecurePagesWithPragma, stop
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, createObjectName, event, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SPRedirectSignatureFormAuthenticator

public SPRedirectSignatureFormAuthenticator()
Method Detail

start

public void start()
           throws org.apache.catalina.LifecycleException
Specified by:
start in interface org.apache.catalina.Lifecycle
Overrides:
start in class SPRedirectFormAuthenticator
Throws:
org.apache.catalina.LifecycleException

validate

protected boolean validate(org.apache.catalina.connector.Request request)
                    throws java.lang.Exception
Overrides:
validate in class SPRedirectFormAuthenticator
Throws:
java.lang.Exception

getDestination

protected java.lang.String getDestination(java.lang.String urlEncodedRequest,
                                          java.lang.String urlEncodedRelayState)
Overrides:
getDestination in class SPRedirectFormAuthenticator

decryptAssertion

protected ResponseType decryptAssertion(ResponseType responseType)
                                 throws java.lang.Exception
Description copied from class: SPRedirectFormAuthenticator
Subclasses should provide the implementation

Overrides:
decryptAssertion in class SPRedirectFormAuthenticator
Parameters:
responseType - ResponseType that contains the encrypted assertion
Returns:
response type with the decrypted assertion
Throws:
java.lang.Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.