|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pingidentity.sts.clientapi.STSClientConfiguration
public class STSClientConfiguration
Property holder for STSClient.
Nested Class Summary | |
---|---|
static class |
STSClientConfiguration.SystemAuthType
Options for HTTP transport authentication for the STS endpoint |
static class |
STSClientConfiguration.TokenType
Possible Token Types |
Constructor Summary | |
---|---|
STSClientConfiguration()
|
Method Summary | |
---|---|
java.lang.String |
getAppliesTo()
Value of AppliesTo element of RST |
java.lang.String |
getClientCertificateKeystore()
Full path to the client certificate keystore |
java.lang.String |
getClientCertificateKeystorePassword()
Password for the client certificate keystore |
STSClientConfiguration.TokenType |
getInTokenType()
Value type of binary token that is desired to be issued by the STS |
STSClientConfiguration.TokenType |
getInTokenValueType()
Value type of token that is sent to the STS |
STSClientConfiguration.TokenType |
getOutTokenType()
Type of token that is desired to be issued by the STS |
java.util.Map<java.lang.String,java.lang.String> |
getRequestParameters()
Retrieves the request parameters |
java.lang.String |
getStsEndpoint()
URL of the STS endpoint |
java.lang.String |
getSystemAuthPassword()
Password for HTTP Basic Authentication to the STS |
STSClientConfiguration.SystemAuthType |
getSystemAuthType()
Type of HTTP transport authentication to use with the STS |
java.lang.String |
getSystemAuthUsername()
Username for HTTP Basic Authentication to the STS |
int |
getToleranceWindow()
Returns tolerance window in minutes, work around clock skew |
int |
getWsseCreatedOffset()
Returns wsse Created header negative offset (to be substracted from now) in minutes |
int |
getWsseLifetime()
Returns wsse security header lifetime (duration) in minutes |
boolean |
isEmbeddedToken()
True if token should be put into the RST body, false if in the SOAP Header |
boolean |
isIgnoreSSLTrustErrors()
True if STSClient is to accept any certificates from the STS during interaction over SSL/TLS , false otherwise |
void |
setAppliesTo(java.lang.String appliesTo)
Value of AppliesTo element of RST |
void |
setClientCertificateKeystore(java.lang.String clientCertificateKeystore)
Full path to the client certificate keystore |
void |
setClientCertificateKeystorePassword(java.lang.String clientCertificateKeystorePassword)
Password for the client certificate keystore |
void |
setEmbeddedToken(boolean embeddedToken)
Set to true if the token should be put into the RST body instead of SOAP Header. |
void |
setIgnoreSSLTrustErrors(boolean ignoreSSLTrustErrors)
If STSClient is to accept any certificates from the PingFederate Server during interaction over SSL/TLS , false otherwise |
void |
setInTokenType(STSClientConfiguration.TokenType inTokenType)
Type of token that is sent to the STS |
void |
setInTokenValueType(java.lang.String inTokenValueType)
Value type of token that is sent to the STS |
void |
setInTokenValueType(STSClientConfiguration.TokenType inTokenValueType)
Value type of token that is sent to the STS |
void |
setOutTokenType(STSClientConfiguration.TokenType outTokenType)
Type of token that is desired to be issued by the STS |
void |
setOutTokenValueType(STSClientConfiguration.TokenType outTokenValueType)
Value type of binary token that is desired to be issued by the STS |
void |
setRequestParameters(java.util.Map<java.lang.String,java.lang.String> requestParameters)
Sets the request parameters |
void |
setStsEndpoint(java.lang.String stsEndpoint)
URL of the STS endpoint |
void |
setSystemAuthPassword(java.lang.String systemAuthPassword)
Password for HTTP Basic Authentication to the STS |
void |
setSystemAuthType(STSClientConfiguration.SystemAuthType systemAuthType)
Type of HTTP transport authentication to use with the STS |
void |
setSystemAuthUsername(java.lang.String systemAuthUsername)
Username for HTTP Basic Authentication to the STS |
void |
setToleranceWindow(int toleranceWindow)
Sets tolerance window in minutes, work around clock skew |
void |
setWsseCreatedOffset(int wsseCreatedOffset)
Sets wsse Created header negative offset (to be substracted from now) in minutes |
void |
setWsseLifetime(int wsseLifetime)
Sets wsse security header lifetime (duration) in minutes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STSClientConfiguration()
Method Detail |
---|
public int getWsseCreatedOffset()
public void setWsseCreatedOffset(int wsseCreatedOffset)
public int getWsseLifetime()
public void setWsseLifetime(int wsseLifetime)
wsseLifetime
- public int getToleranceWindow()
public void setToleranceWindow(int toleranceWindow)
toleranceWindow
- tolerance window in minutespublic void setEmbeddedToken(boolean embeddedToken)
embeddedToken
- true if token to be put in the RST, false if in the SOAP Headerpublic boolean isEmbeddedToken()
public STSClientConfiguration.TokenType getOutTokenType()
public void setOutTokenType(STSClientConfiguration.TokenType outTokenType)
public void setOutTokenValueType(STSClientConfiguration.TokenType outTokenValueType)
public STSClientConfiguration.TokenType getInTokenType()
public void setInTokenType(STSClientConfiguration.TokenType inTokenType)
public java.lang.String getStsEndpoint()
public void setStsEndpoint(java.lang.String stsEndpoint)
public java.lang.String getAppliesTo()
public void setAppliesTo(java.lang.String appliesTo)
public STSClientConfiguration.TokenType getInTokenValueType()
public void setInTokenValueType(STSClientConfiguration.TokenType inTokenValueType)
public void setInTokenValueType(java.lang.String inTokenValueType)
inTokenValueType
- String URI valuepublic java.lang.String getSystemAuthUsername()
public void setSystemAuthUsername(java.lang.String systemAuthUsername)
public java.lang.String getSystemAuthPassword()
public void setSystemAuthPassword(java.lang.String systemAuthPassword)
public STSClientConfiguration.SystemAuthType getSystemAuthType()
public void setSystemAuthType(STSClientConfiguration.SystemAuthType systemAuthType)
public java.lang.String getClientCertificateKeystore()
public void setClientCertificateKeystore(java.lang.String clientCertificateKeystore)
public java.lang.String getClientCertificateKeystorePassword()
public void setClientCertificateKeystorePassword(java.lang.String clientCertificateKeystorePassword)
public boolean isIgnoreSSLTrustErrors()
public void setIgnoreSSLTrustErrors(boolean ignoreSSLTrustErrors)
public void setRequestParameters(java.util.Map<java.lang.String,java.lang.String> requestParameters)
requestParameters
- a Map containing String entries ParameterName -> ParameterValuepublic java.util.Map<java.lang.String,java.lang.String> getRequestParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |