public class WebtopNamingQuery extends Object
Constructor and Description |
---|
WebtopNamingQuery() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAllServerIDs() |
String |
getAMServerID() |
String |
getServerFromID(String server) |
SessionIDCorrector |
getSessionIDCorrector() |
String |
getSiteID(String server) |
Set<String> |
getSiteNodes(String siteID) |
boolean |
isAvailable(URL url) |
boolean |
isServer(String serverID) |
boolean |
isSite(String siteID) |
public String getSiteID(String server)
server
- Non null Server ID.WebtopNaming.getSiteID(String)
public String getServerFromID(String server) throws ServerEntryNotFoundException
server
- The ID of the Server as described in the naming table.ServerEntryNotFoundException
- If the server was not found in the naming table.WebtopNaming.getServerFromID(String)
public String getAMServerID() throws ServerEntryNotFoundException
ServerEntryNotFoundException
- If there was a problem resolving this ID.WebtopNaming.getAMServerID()
public boolean isSite(String siteID)
siteID
- The ID of the Site or Server to test.WebtopNaming.isSite(String)
public boolean isServer(String serverID)
serverID
- The ID of the Site or Server to test.WebtopNaming.isServer(String)
public Set<String> getSiteNodes(String siteID) throws Exception
siteID
- Non null Site ID.Exception
- If there was a problem determining the Site nodes.WebtopNaming.getSiteNodes(String)
public boolean isAvailable(URL url) throws Exception
url
- Non null URL to test. This URL must point to an OpenAM Server
instance.Exception
WebtopNaming.SiteMonitor.isAvailable(java.net.URL)
public Collection<String> getAllServerIDs() throws Exception
Exception
- if an error occurs when getting all the server idsWebtopNaming.getAllServerIDs()
public SessionIDCorrector getSessionIDCorrector()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.