PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.1.Final-redhat-1

org.picketlink.identity.federation.bindings.tomcat.sp
Class ServiceProviderAuthenticator

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.picketlink.identity.federation.bindings.tomcat.sp.BaseFormAuthenticator
                  extended by org.picketlink.identity.federation.bindings.tomcat.sp.AbstractSPFormAuthenticator
                      extended by org.picketlink.identity.federation.bindings.tomcat.sp.ServiceProviderAuthenticator
All Implemented Interfaces:
MBeanRegistration, org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve
Direct Known Subclasses:
SPPostFormAuthenticator, SPRedirectFormAuthenticator

public class ServiceProviderAuthenticator
extends AbstractSPFormAuthenticator

Unified Service Provider Authenticator

Author:
anil saldhana

Field Summary
 
Fields inherited from class org.picketlink.identity.federation.bindings.tomcat.sp.AbstractSPFormAuthenticator
jbossEnv, log, trace
 
Fields inherited from class org.picketlink.identity.federation.bindings.tomcat.sp.BaseFormAuthenticator
canonicalizationMethod, chain, chainConfigOptions, chainLock, configFile, configProvider, identityURL, idpAddress, idpCertificate, issuerID, keyManager, logOutPage, picketLinkConfiguration, samlHandlerChainClass, saveRestoreRequest, serviceURL, spConfiguration
 
Fields inherited from class org.apache.catalina.authenticator.FormAuthenticator
characterEncoding, info, landingPage
 
Fields inherited from class org.apache.catalina.authenticator.AuthenticatorBase
AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, 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
ServiceProviderAuthenticator()
           
 
Method Summary
protected  void sendRequestToIDP(String destination, Document samlDocument, String relayState, org.apache.catalina.connector.Response response, boolean willSendRequest)
           Send the request to the IDP.
 
Methods inherited from class org.picketlink.identity.federation.bindings.tomcat.sp.AbstractSPFormAuthenticator
authenticate, authenticate, getBinding, initKeyProvider, isHttpPostBinding, isPOSTBindingResponse, processStart
 
Methods inherited from class org.picketlink.identity.federation.bindings.tomcat.sp.BaseFormAuthenticator
doSupportSignature, getConfigFile, getConfiguration, getIdentityURL, getIdpCertificate, getIDPSSODescriptor, handleMetadata, handleMetadata, initializeHandlerChain, localAuthentication, populateChainConfig, processConfiguration, processIDPMetadataFile, register, sendToLogoutPage, setConfigFile, setConfigProvider, setIdpAddress, setIssuerID, setLogOutPage, setSamlHandlerChainClass, setSaveRestoreRequest, setServiceURL, start, testStart, validate
 
Methods inherited from class org.apache.catalina.authenticator.FormAuthenticator
forwardToErrorPage, forwardToLoginPage, getCharacterEncoding, getInfo, getLandingPage, matchRequest, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding, setLandingPage
 
Methods inherited from class org.apache.catalina.authenticator.AuthenticatorBase
addLifecycleListener, associate, authenticate, findLifecycleListeners, generateSessionId, getCache, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, invoke, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, stop, unregister
 
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

ServiceProviderAuthenticator

public ServiceProviderAuthenticator()
Method Detail

sendRequestToIDP

protected void sendRequestToIDP(String destination,
                                Document samlDocument,
                                String relayState,
                                org.apache.catalina.connector.Response response,
                                boolean willSendRequest)
                         throws ProcessingException,
                                ConfigurationException,
                                IOException
Description copied from class: AbstractSPFormAuthenticator

Send the request to the IDP. Subclasses should override this method to implement how requests must be sent to the IDP.

Specified by:
sendRequestToIDP in class AbstractSPFormAuthenticator
Parameters:
destination - idp url
samlDocument - request or response document
willSendRequest - are we sending Request or Response to IDP
Throws:
ProcessingException
ConfigurationException
IOException

PicketLink Federation Server Bindings for Apache Tomcat 5/6 2.1.1.Final-redhat-1

Copyright © 2012 JBoss Inc.. All Rights Reserved.