public interface STSClientConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Retrieves the address of the STS server.
|
String |
getAssertionType()
Retrieves the assertion type that should be requested from the STS.
|
List<String> |
getClaims()
Retrieves the list of claims that should be requested from the STS.
|
String |
getEncryptionProperties()
Per WS-Security Policy:
|
String |
getEncryptionUsername()
Per WS-Security Policy:
|
String |
getEndpointName()
Retrieves the endpoint name of the STS service.
|
String |
getKeySize()
Retrieves the size of the key that should be used.
|
String |
getKeyType()
Retrieves the key type that should be used when communicating with the STS.
|
String |
getPassword()
Retrieves the password for the associated username set in
#setUsername() |
String |
getServiceName()
Retrieves the service name of the STS service.
|
String |
getSignatureProperties()
Per WS-Security Policy:
|
String |
getSignatureUsername()
Per WS-Security Policy:
|
String |
getTokenProperties()
Per WS-Security Policy:
|
String |
getTokenUsername()
Per WS-Security Policy:
|
Boolean |
getUseKey()
Flags whether or not to supply a key in the request.
|
String |
getUsername()
Retrieves the user's name for performing operations on the STS.
|
void |
setAddress(String address)
Sets the address of the STS server.
|
void |
setAssertionType(String assertionType)
Sets the assertion type that should be requested from the STS.
|
void |
setClaims(List<String> claims)
Sets the claim list with the incoming list.
|
void |
setClaims(String claims)
Sets the claim list with the incoming comma-delimieted string of URI values.
|
void |
setEncryptionProperties(String encryptionProperties)
Sets the location of the encryption properties file.
|
void |
setEncryptionUsername(String encryptionUsername)
Sets the user's name for encryption.
|
void |
setEndpointName(String endpointName)
Sets the endpoint name of the STS service.
|
void |
setKeySize(String keySize)
Sets the size of the key that should be used.
|
void |
setKeyType(String keyType)
Sets the key type that should be used when communicating with the STS.
|
void |
setPassword(String password)
Sets the password for the current user.
|
void |
setServiceName(String serviceName)
Sets the service name of the STS service.
|
void |
setSignatureProperties(String signatureProperties)
Sets the location of the signature properties file.
|
void |
setSignatureUsername(String signatureUsername)
Sets the user's signature name.
|
void |
setTokenProperties(String tokenProperties)
Sets the location of the token properties file.
|
void |
setTokenUsername(String tokenUsername)
Sets the alias name for the user's public key.
|
void |
setUseKey(Boolean useKey)
Sets whether or not to supply a key in the request.
|
void |
setUsername(String username)
Sets the user's name to use for performing STS operations.
|
String getAddress()
void setAddress(String address)
address
- String-based URL of the STS endpoint with no "WSDL" on the end.String getEndpointName()
Default is {http://docs.oasis-open.org/ws-sx/ws-trust/200512/}STS_Port
void setEndpointName(String endpointName)
endpointName
- String-based endpoint name.String getServiceName()
Default is {http://docs.oasis-open.org/ws-sx/ws-trust/200512/} SecurityTokenService
void setServiceName(String serviceName)
serviceName
- String-based service nameString getUsername()
void setUsername(String username)
username
- String getPassword()
#setUsername()
void setPassword(String password)
password
- String getSignatureUsername()
The user's name for signature. It is used as the alias name in the keystore to get the user's cert and private key for signature.
void setSignatureUsername(String signatureUsername)
signatureUsername
- String getSignatureProperties()
Location of the crypto property configuration to use for signature.
void setSignatureProperties(String signatureProperties)
signatureProperties
- String getEncryptionUsername()
The user's name for encryption. It is used as the alias name in the keystore to get the user's public key for encryption.
void setEncryptionUsername(String encryptionUsername)
encryptionUsername
- String getEncryptionProperties()
Location of the crypto property configuration to use for encryption.
void setEncryptionProperties(String encryptionProperties)
encryptionProperties
- String getTokenUsername()
The alias name in the keystore to get the user's public key to send to the STS for the PublicKey KeyType case.
void setTokenUsername(String tokenUsername)
tokenUsername
- String getTokenProperties()
Location of the crypto property configuration used by the STSClient to send/process any RSA/DSAKeyValue tokens used if the KeyType is "PublicKey".
void setTokenProperties(String tokenProperties)
tokenProperties
- List<String> getClaims()
void setClaims(List<String> claims)
claims
- void setClaims(String claims)
claims
- String getAssertionType()
void setAssertionType(String assertionType)
assertionType
- String getKeyType()
void setKeyType(String keyType)
keyType
- String getKeySize()
void setKeySize(String keySize)
keySize
- Boolean getUseKey()
void setUseKey(Boolean useKey)
useKey
- This work is licensed under a Creative Commons Attribution 4.0 International License.