public class AbstractSSOSpHandler extends Object
Constructor and Description |
---|
AbstractSSOSpHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected String |
createCookie(String name,
String value,
String path,
String domain) |
protected CallbackHandler |
getCallbackHandler() |
protected org.apache.wss4j.common.crypto.Crypto |
getSignatureCrypto() |
String |
getSignatureUsername()
Get the username/alias to use to sign any request
|
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 |
setSignatureUsername(String signatureUsername)
Set the username/alias to use to sign any request
|
void |
setStateProvider(SPStateManager stateProvider) |
void |
setStateTimeToLive(long stateTimeToLive) |
@PreDestroy public void close()
public void setSignatureCrypto(org.apache.wss4j.common.crypto.Crypto crypto)
public void setSignaturePropertiesFile(String signaturePropertiesFile)
signaturePropertiesFile
- the String corresponding to the signature properties filepublic void setCallbackHandler(CallbackHandler callbackHandler)
callbackHandler
- the CallbackHandler object.public void setCallbackHandlerClass(String callbackHandlerClass)
callbackHandlerClass
- the String corresponding to the CallbackHandler class.protected boolean isStateExpired(long stateCreatedAt, long expiresAt)
public void setStateProvider(SPStateManager stateProvider)
public SPStateManager getStateProvider()
public void setStateTimeToLive(long stateTimeToLive)
public long getStateTimeToLive()
protected org.apache.wss4j.common.crypto.Crypto getSignatureCrypto()
protected CallbackHandler getCallbackHandler()
public void setSignatureUsername(String signatureUsername)
signatureUsername
- the username/alias to use to sign any requestpublic String getSignatureUsername()
Apache CXF