|
||||||||||
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
This is an abstract that represents the configuration about a trusted authority.
The trusted authority configuration is used to register the provider configuration information at a trusted authority.
This class can be extended to define the trust authority config such as discovery configuration, ws-trust etc.
Field Summary | |
static java.lang.String |
DISCOVERY_TRUST_AUTHORITY
Discovery service configuration type. |
Constructor Summary | |
TrustAuthorityConfig()
|
Method Summary | |
static void |
deleteConfig(java.lang.String name,
java.lang.String type)
Deletes the trust authority configuration. |
static TrustAuthorityConfig |
getConfig(java.lang.String name,
java.lang.String type)
Returns the trust authority configuration object. |
java.lang.String |
getEndpoint()
Returns the authority end point. |
java.lang.String |
getKeyAlias()
Returns the key alias of the trust authority. |
java.lang.String |
getName()
Returns the trust authority name. |
java.lang.String |
getType()
Returns the trust authority type. |
static void |
saveConfig(TrustAuthorityConfig config)
Saves the trust authority configuration. |
void |
setEndpoint(java.lang.String endpoint)
Sets the end point. |
void |
setKeyAlias(java.lang.String keyAlias)
Sets the key alias for the trust authority. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DISCOVERY_TRUST_AUTHORITY
Constructor Detail |
public TrustAuthorityConfig()
Method Detail |
public java.lang.String getName()
public java.lang.String getType()
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
endpoint
- the end point for the trust authority.public java.lang.String getKeyAlias()
public void setKeyAlias(java.lang.String keyAlias)
keyAlias
- the key alias for the trust authority.public static TrustAuthorityConfig getConfig(java.lang.String name, java.lang.String type) throws com.sun.identity.wss.provider.ProviderException
name
- the name of the trust authority.type
- the type of the trust authority. The type must have
one of the following values.
ProviderException
- if any failure in
retrieving the trust authority configuration.public static void saveConfig(TrustAuthorityConfig config) throws com.sun.identity.wss.provider.ProviderException
config
- the trust authority configuration.
ProviderException
- if any failure in
saving the configuration.public static void deleteConfig(java.lang.String name, java.lang.String type) throws com.sun.identity.wss.provider.ProviderException
name
- the name of the trust authority configuration.type
- the type of the trust authority. The type must have
one of the values.
ProviderException
- if any failure in
deleting the trust authority configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |