Package com.sun.identity.configuration
Class FedSystemProperties
- java.lang.Object
-
- com.sun.identity.configuration.FedLibSystemProperties
-
- com.sun.identity.configuration.FedSystemProperties
-
- All Implemented Interfaces:
ISystemProperties
public class FedSystemProperties extends FedLibSystemProperties
This is the adapter class for Federation Manager to the shared library. Mainly to provide system configuration information.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.configuration.FedLibSystemProperties
systemConfigProps
-
-
Constructor Summary
Constructors Constructor Description FedSystemProperties()Creates a new instance ofFedSystemProperties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String key)Returns system properties.CollectiongetServerList()Returns server list.CollectiongetServiceAllURLs(String serviceName)Returns service all url list.URLgetServiceURL(String serviceName, String protocol, String hostname, int port, String uri)Returns the URL of the specified service on the specified host.-
Methods inherited from class com.sun.identity.configuration.FedLibSystemProperties
getOrDefault, initializeProperties, initializeProperties
-
-
-
-
Method Detail
-
get
public String get(String key)
Returns system properties.- Specified by:
getin interfaceISystemProperties- Overrides:
getin classFedLibSystemProperties- Parameters:
key- Key to the properties.
-
getServerList
public Collection getServerList() throws Exception
Returns server list.- Specified by:
getServerListin interfaceISystemProperties- Overrides:
getServerListin classFedLibSystemProperties- Returns:
- Server List.
- Throws:
Exception- if server list cannot be returned.
-
getServiceURL
public URL getServiceURL(String serviceName, String protocol, String hostname, int port, String uri) throws Exception
Returns the URL of the specified service on the specified host.- Specified by:
getServiceURLin interfaceISystemProperties- Overrides:
getServiceURLin classFedLibSystemProperties- Parameters:
serviceName- The name of the service.protocol- The service protocol.hostname- The service host name.port- The service listening port.uri- The service URI.- Returns:
- The URL of the specified service on the specified host.
- Throws:
Exception- if the URL could not be found.
-
getServiceAllURLs
public Collection getServiceAllURLs(String serviceName) throws Exception
Returns service all url list.- Specified by:
getServiceAllURLsin interfaceISystemProperties- Overrides:
getServiceAllURLsin classFedLibSystemProperties- Returns:
- Server List.
- Throws:
Exception- if server list cannot be returned.
-
-