com.sun.identity.wss.provider
Class DiscoveryConfig

java.lang.Object
  extended bycom.sun.identity.wss.provider.TrustAuthorityConfig
      extended bycom.sun.identity.wss.provider.DiscoveryConfig

public abstract class DiscoveryConfig
extends TrustAuthorityConfig

This class has information about the discovery as the trusted authority configuration. This class extends from TrustAuthorityConfig.

This class also provides methods for registering and un-registering with the discovery service.


Field Summary
 
Fields inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig
DISCOVERY_TRUST_AUTHORITY
 
Constructor Summary
DiscoveryConfig()
          Constructor
 
Method Summary
 void registerProviderWithTA(ProviderConfig config, java.lang.String serviceURI)
          Registers the provider configuration with trusted authority.
 void registerProviderWithTA(ProviderConfig config, java.lang.String serviceURI, boolean unregister)
          Registers the provider configuration with trusted authority.
 void unregisterProviderWithTA(java.lang.String serviceURI)
          Unregister the provider with trusted authority.
 
Methods inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig
deleteConfig, getConfig, getEndpoint, getKeyAlias, getName, getType, saveConfig, setEndpoint, setKeyAlias
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryConfig

public DiscoveryConfig()
Constructor

Method Detail

registerProviderWithTA

public void registerProviderWithTA(ProviderConfig config,
                                   java.lang.String serviceURI)
                            throws com.sun.identity.wss.provider.ProviderException
Registers the provider configuration with trusted authority.

Parameters:
config - the configuration of the provider.
serviceURI - the URI of the web services provider.
Throws:
ProviderException - if any failure.

registerProviderWithTA

public void registerProviderWithTA(ProviderConfig config,
                                   java.lang.String serviceURI,
                                   boolean unregister)
                            throws com.sun.identity.wss.provider.ProviderException
Registers the provider configuration with trusted authority.

Parameters:
config - the configuration of the provider.
serviceURI - the URI of the web services provider.
unregister - if true unregisters the service offering with trusted authority before registration.
Throws:
ProviderException - if any failure.

unregisterProviderWithTA

public void unregisterProviderWithTA(java.lang.String serviceURI)
                              throws com.sun.identity.wss.provider.ProviderException
Unregister the provider with trusted authority.

Parameters:
serviceURI - the service URI of the web services provider.
Throws:
ProviderException - if any failure.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.