Apache CXF API

org.apache.cxf.rs.security.saml.sso
Class AbstractSSOSpHandler

java.lang.Object
  extended by org.apache.cxf.rs.security.saml.sso.AbstractSSOSpHandler
Direct Known Subclasses:
AbstractRequestAssertionConsumerHandler, AbstractServiceProviderFilter

public class AbstractSSOSpHandler
extends Object


Constructor Summary
AbstractSSOSpHandler()
           
 
Method Summary
 void close()
           
protected  String createCookie(String name, String value, String path, String domain)
           
protected  CallbackHandler getCallbackHandler()
           
protected static Properties getProps(Object o)
           
protected  org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
           
 SPStateManager getStateProvider()
           
 long getStateTimeToLive()
           
protected  boolean isStateExpired(long stateCreatedAt, long expiresAt)
           
 void setCallbackHandler(CallbackHandler callbackHandler)
          Set the CallbackHandler object.
 void setCallbackHandlerClass(String callbackHandlerClass)
          Set the String corresponding to the CallbackHandler class.
 void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto)
           
 void setSignaturePropertiesFile(String signaturePropertiesFile)
          Set the String corresponding to the signature Properties class
 void setStateProvider(SPStateManager stateProvider)
           
 void setStateTimeToLive(long stateTimeToLive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSSOSpHandler

public AbstractSSOSpHandler()
Method Detail

close

@PreDestroy
public void close()

setSignatureCrypto

public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto)

setSignaturePropertiesFile

public void setSignaturePropertiesFile(String signaturePropertiesFile)
Set the String corresponding to the signature Properties class

Parameters:
signaturePropertiesFile - the String corresponding to the signature properties file

setCallbackHandler

public void setCallbackHandler(CallbackHandler callbackHandler)
Set the CallbackHandler object.

Parameters:
callbackHandler - the CallbackHandler object.

setCallbackHandlerClass

public void setCallbackHandlerClass(String callbackHandlerClass)
Set the String corresponding to the CallbackHandler class.

Parameters:
callbackHandlerClass - the String corresponding to the CallbackHandler class.

createCookie

protected String createCookie(String name,
                              String value,
                              String path,
                              String domain)

isStateExpired

protected boolean isStateExpired(long stateCreatedAt,
                                 long expiresAt)

setStateProvider

public void setStateProvider(SPStateManager stateProvider)

getStateProvider

public SPStateManager getStateProvider()

setStateTimeToLive

public void setStateTimeToLive(long stateTimeToLive)

getStateTimeToLive

public long getStateTimeToLive()

getProps

protected static Properties getProps(Object o)

getSignatureCrypto

protected org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()

getCallbackHandler

protected CallbackHandler getCallbackHandler()

Apache CXF API

Apache CXF