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 voiddelete()Deletes the trust authrority configuration.voidinit(String name, String type, SSOToken token)Initialize the trust authority.voidstore()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:TrustAuthorityConfigInitialize the trust authority.- Specified by:
initin 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 ProviderExceptionDescription copied from class:TrustAuthorityConfigSaves the trust authority configuration.- Specified by:
storein classTrustAuthorityConfig- Throws:
ProviderException- if the trust authority configuration is unable to save.
-
delete
public void delete() throws ProviderExceptionDescription copied from class:TrustAuthorityConfigDeletes the trust authrority configuration.- Specified by:
deletein classTrustAuthorityConfig- Throws:
ProviderException
-
-