Class AbstractSSOSpHandler
java.lang.Object
org.apache.cxf.rs.security.saml.sso.AbstractSSOSpHandler
- Direct Known Subclasses:
AbstractRequestAssertionConsumerHandler,AbstractServiceProviderFilter,MetadataService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected StringcreateCookie(String name, String value, String path, String domain) protected CallbackHandlerprotected StringgetIssuerId(org.apache.cxf.message.Message m) protected org.apache.wss4j.common.crypto.CryptoGet the username/alias to use to sign any requestlongbooleanvoidsetCallbackHandler(CallbackHandler callbackHandler) Set the CallbackHandler object.voidsetCallbackHandlerClass(String callbackHandlerClass) Set the String corresponding to the CallbackHandler class.voidsetIdpServiceAddress(String idpServiceAddress) voidsetIssuerId(String issuerId) voidsetSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto) voidsetSignaturePropertiesFile(String signaturePropertiesFile) Set the String corresponding to the signature Properties classvoidsetSignatureUsername(String signatureUsername) Set the username/alias to use to sign any requestvoidsetStateProvider(SPStateManager stateProvider) voidsetStateTimeToLive(long stateTimeToLive) voidsetSupportUnsolicited(boolean supportUnsolicited) Whether to support unsolicited IdP initiated login or not.
-
Constructor Details
-
AbstractSSOSpHandler
public AbstractSSOSpHandler()
-
-
Method Details
-
close
@PreDestroy public void close() -
setSignatureCrypto
public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto) -
setSignaturePropertiesFile
Set the String corresponding to the signature Properties class- Parameters:
signaturePropertiesFile- the String corresponding to the signature properties file
-
setCallbackHandler
Set the CallbackHandler object.- Parameters:
callbackHandler- the CallbackHandler object.
-
setCallbackHandlerClass
Set the String corresponding to the CallbackHandler class.- Parameters:
callbackHandlerClass- the String corresponding to the CallbackHandler class.
-
createCookie
-
setStateProvider
-
getStateProvider
-
setStateTimeToLive
public void setStateTimeToLive(long stateTimeToLive) -
getStateTimeToLive
public long getStateTimeToLive() -
getSignatureCrypto
protected org.apache.wss4j.common.crypto.Crypto getSignatureCrypto() -
getCallbackHandler
-
setSignatureUsername
Set the username/alias to use to sign any request- Parameters:
signatureUsername- the username/alias to use to sign any request
-
getSignatureUsername
Get the username/alias to use to sign any request- Returns:
- the username/alias to use to sign any request
-
setIdpServiceAddress
-
getIdpServiceAddress
-
setIssuerId
-
getIssuerId
-
isSupportUnsolicited
public boolean isSupportUnsolicited() -
setSupportUnsolicited
public void setSupportUnsolicited(boolean supportUnsolicited) Whether to support unsolicited IdP initiated login or not. The default is false.
-