Class DiscoveryAgent
- java.lang.Object
-
- com.sun.identity.wss.provider.TrustAuthorityConfig
-
- com.sun.identity.wss.provider.DiscoveryConfig
-
- com.sun.identity.wss.provider.plugins.DiscoveryAgent
-
public class DiscoveryAgent extends DiscoveryConfig
-
-
Field Summary
-
Fields inherited from class com.sun.identity.wss.provider.DiscoveryConfig
authServiceEndpoint
-
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
Constructors Constructor Description DiscoveryAgent()
DiscoveryAgent(AMIdentity amIdentity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Deletes the trust authrority configuration.void
init(String name, String type, SSOToken token)
Initialize the trust authority.void
store()
Saves the trust authority configuration.-
Methods inherited from class com.sun.identity.wss.provider.DiscoveryConfig
getAuthServiceEndPoint, registerProviderWithTA, registerProviderWithTA, setAuthServiceEndPoint, unregisterProviderWithTA
-
Methods inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig
deleteConfig, getConfig, getEncryptionAlgorithm, getEncryptionStrength, getEndpoint, getKeyAlias, getName, getPublicKeyAlias, getSecurityMech, getSigningRefType, getType, getUsers, isRequestEncryptEnabled, isRequestHeaderEncryptEnabled, isRequestSignEnabled, isResponseEncryptEnabled, isResponseSignEnabled, saveConfig, setAdminToken, setEncryptionAlgorithm, setEncryptionStrength, setEndpoint, setKeyAlias, setName, setPublicKeyAlias, setRequestEncryptEnabled, setRequestHeaderEncryptEnabled, setRequestSignEnabled, setResponseEncryptEnabled, setResponseSignEnabled, setSecurityMechs, setSigningRefType, setType, setUsers
-
-
-
-
Constructor Detail
-
DiscoveryAgent
public DiscoveryAgent()
-
DiscoveryAgent
public DiscoveryAgent(AMIdentity amIdentity) throws ProviderException
- Throws:
ProviderException
-
-
Method Detail
-
init
public void init(String name, String type, SSOToken token) throws ProviderException
Description copied from class:TrustAuthorityConfig
Initialize the trust authority.- Specified by:
init
in classTrustAuthorityConfig
- Parameters:
name
- the name of the trust authority.type
- the type of the trust authority.token
- Single sign-on token.- Throws:
ProviderException
- if the initialization fails.
-
store
public void store() throws ProviderException
Description copied from class:TrustAuthorityConfig
Saves the trust authority configuration.- Specified by:
store
in classTrustAuthorityConfig
- Throws:
ProviderException
- if the trust authority configuration is unable to save.
-
delete
public void delete() throws ProviderException
Description copied from class:TrustAuthorityConfig
Deletes the trust authrority configuration.- Specified by:
delete
in classTrustAuthorityConfig
- Throws:
ProviderException
-
-