public abstract class DiscoveryConfig extends TrustAuthorityConfig
DiscoveryConfig
represents the
configuration of a Discovery client entity. It extends
TrustAuthorityConfig
.
This class can be extended to define the trust authority config which is Discovery 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.discovery.config.plugin" property for Discovery client configuration.
This class also provides methods for registering and un-registering with the discovery service. All the static methods in this class are for the persistent operations.
Modifier and Type | Field and Description |
---|---|
protected String |
authServiceEndpoint |
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 and Description |
---|
DiscoveryConfig()
Creates a new instance of DiscoveryConfig
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthServiceEndPoint()
Returns Authentication Web Service End point.
|
void |
registerProviderWithTA(ProviderConfig config,
String serviceURI)
Registers the Discovery client configuration with trusted authority.
|
void |
registerProviderWithTA(ProviderConfig config,
String serviceURI,
boolean unregister)
Registers the Discovery client configuration with trusted authority.
|
void |
setAuthServiceEndPoint(String authServiceEndpoint)
Sets Authentication Web Service End point.
|
void |
unregisterProviderWithTA(String serviceURI)
Unregisters the provider with trusted authority.
|
delete, deleteConfig, getConfig, getEncryptionAlgorithm, getEncryptionStrength, getEndpoint, getKeyAlias, getName, getPublicKeyAlias, getSecurityMech, getSigningRefType, getType, getUsers, init, isRequestEncryptEnabled, isRequestHeaderEncryptEnabled, isRequestSignEnabled, isResponseEncryptEnabled, isResponseSignEnabled, saveConfig, setAdminToken, setEncryptionAlgorithm, setEncryptionStrength, setEndpoint, setKeyAlias, setName, setPublicKeyAlias, setRequestEncryptEnabled, setRequestHeaderEncryptEnabled, setRequestSignEnabled, setResponseEncryptEnabled, setResponseSignEnabled, setSecurityMechs, setSigningRefType, setType, setUsers, store
protected String authServiceEndpoint
public DiscoveryConfig()
public String getAuthServiceEndPoint()
public void setAuthServiceEndPoint(String authServiceEndpoint)
authServiceEndpoint
- Authentication Web Service End pointpublic void registerProviderWithTA(ProviderConfig config, String serviceURI) throws ProviderException
config
- the configuration of the Discovery client.serviceURI
- the URI
of the web services provider.ProviderException
- if any failure.public void registerProviderWithTA(ProviderConfig config, String serviceURI, boolean unregister) throws ProviderException
config
- the configuration of the Discovery client.serviceURI
- the URI
of the web services provider.unregister
- if true unregisters the service offering with
trusted authority before registration.ProviderException
- if any failure.public void unregisterProviderWithTA(String serviceURI) throws ProviderException
serviceURI
- the service URI
of the
web services provider.ProviderException
- if any failure.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.