|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.wss.provider.TrustAuthorityConfig com.sun.identity.wss.provider.STSConfig
public abstract class STSConfig
This abstract class STSConfig
represents the
configuration of a Security Token Service client entity. It extends
TrustAuthorityConfig
.
This class can be extended to define the trust authority config which is WS-Trust protocol based client (STS client) configuration.
Pluggable implementation of this abstract class can choose to store this configuration in desired configuration store. This pluggable implementation class can be configured in client's AMConfig.properties as value of "com.sun.identity.wss.sts.config.plugin" property for STS client configuration.
All the static methods in this class are for the persistent operations.
Field Summary | |
---|---|
protected String |
kdcDomain
|
protected String |
kdcServer
|
protected String |
mexEndpoint
|
protected String |
protocolVersion
|
protected String |
servicePrincipal
|
protected String |
stsConfigName
|
protected String |
ticketCacheDir
|
Fields inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig |
---|
customAdminToken, DISCOVERY_TRUST_AUTHORITY, encryptionAlgorithm, encryptionStrength, endpoint, isRequestEncrypted, isRequestHeaderEncrypted, isRequestSigned, isResponseEncrypted, isResponseSigned, name, privateKeyAlias, publicKeyAlias, secMech, signingRefType, STS_TRUST_AUTHORITY, type, usercredentials, WSS_DISCOVERY_CONFIG_PLUGIN, WSS_STS_CONFIG_PLUGIN |
Constructor Summary | |
---|---|
STSConfig()
Creates a new instance of STSConfig |
Method Summary | |
---|---|
String |
getKDCDomain()
Returns Kerberos Domain Controller Domain. |
String |
getKDCServer()
Returns Kerberos Domain Controller Server. |
String |
getKerberosServicePrincipal()
Returns kerberos service principal. |
String |
getKerberosTicketCacheDir()
Returns the kerberos ticket cache directory. |
String |
getMexEndpoint()
Returns STS Mex endpoint. |
String |
getProtocolVersion()
Returns the protocol version. |
String |
getSTSConfigName()
Returns STS configuration name. |
void |
setKDCDomain(String domain)
Sets Kerberos Domain Controller Domain. |
void |
setKDCServer(String kdcServer)
Sets Kerberos Domain Controller Server. |
void |
setKerberosServicePrincipal(String principal)
Sets kerberos service principal. |
void |
setKerberosTicketCacheDir(String cacheDir)
Sets kerberos ticket cache directory. |
void |
setMexEndpoint(String mexEndpoint)
Sets STS Mex endpoint. |
void |
setProtocolVersion(String version)
Sets the protocol version. |
void |
setSTSConfigName(String stsConfigName)
Sets STS configuration name. |
Field Detail |
---|
protected String mexEndpoint
protected String stsConfigName
protected String kdcDomain
protected String kdcServer
protected String ticketCacheDir
protected String servicePrincipal
protected String protocolVersion
Constructor Detail |
---|
public STSConfig()
Method Detail |
---|
public String getMexEndpoint()
public void setMexEndpoint(String mexEndpoint)
mexEndpoint
- STS Mex endpointpublic String getSTSConfigName()
public void setSTSConfigName(String stsConfigName)
stsConfigName
- STS configuration namepublic String getKDCDomain()
public void setKDCDomain(String domain)
domain
- Kerberos Domain Controller Domainpublic String getKDCServer()
public void setKDCServer(String kdcServer)
kdcServer
- Kerberos Domain Controller Serverpublic String getKerberosTicketCacheDir()
public void setKerberosTicketCacheDir(String cacheDir)
cacheDir
- kerberos ticket cache dirpublic String getKerberosServicePrincipal()
public void setKerberosServicePrincipal(String principal)
principal
- the kerberos service principal.public String getProtocolVersion()
public void setProtocolVersion(String version)
version
- the protocol version.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |