public class Agent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MON_CONFIG_DISABLED |
static int |
MON_CREATEMIB_PROBLEM |
static int |
MON_MBEANSRVR_PROBLEM |
static int |
MON_READATTRS_PROBLEM |
static int |
MON_RMICONNECTOR_PROBLEM |
Modifier and Type | Method and Description |
---|---|
static void |
configAgentGroups(String realm,
Map<String,Map<String,String>> agtAttrs)
process realm's Agent Groups
the HashMap of attributes/values:
CLIConstants.ATTR_NAME_AGENT_TYPE
type is extracted from the set; can be:
STSAgent, WSPAgent, WSCAgent, WebAgent
J2EEAgent, DiscoveryAgent
don't do "SharedAgent" (authenticators)
WSPAgent should have:
"wspendpoint"
"wspproxyendpoint"
WSCAgent should have:
"wspendpoint"
"wspproxyendpoint"
WebAgent should have:
"com.sun.identity.agents.config.agenturi.prefix"
"com.sun.identity.agents.config.login.url"
J2EEAgents should have:
"com.sun.identity.agents.config.login.url"
"com.sun.identity.client.notification.url"
DiscoveryAgent should have:
"discoveryendpoint"
"authnserviceendpoint"
STSAgent should have:
"stsendpoint"
2.2_Agent
no groups
|
static void |
configAgentsOnly(String realm,
Map<String,Map<String,String>> agtAttrs)
process realm's Agents (only)
the HashMap of attributes/values:
CLIConstants.ATTR_NAME_AGENT_TYPE
type is extracted from the set; can be:
J2EEAgent, WSPAgent, WSCAgent, 2.2_Agent
WSPAgent, STSAgent, WebAgent, DiscoveryAgent
don't do "SharedAgent" (authenticators)
J2EEAgent should have:
"com.sun.identity.agents.config.login.url"
"com.sun.identity.client.notification.url"
"groupmembership"
WSPAgent should have:
"wspendpoint"
"wspproxyendpoint"
"groupmembership"
WSCAgent should have:
"wspendpoint"
"wspproxyendpoint"
"groupmembership"
STSAgent should have:
"stsendpoint"
"groupmembership"
WebAgent should have:
"com.sun.identity.agents.config.agenturi.prefix"
"com.sun.identity.agents.config.login.url"
"groupmembership"
DiscoveryAgent should have:
"discoveryendpoint"
"authnserviceendpoint"
"groupmembership"
2.2_Agent should have:
"groupmembership"
|
static int |
federationConfig(SSOServerRealmFedInfo srfi) |
static SSOServerInfo |
getAgentSvrInfo() |
static SsoServerAuthModulesEntryImpl |
getAuthModuleEntry(String rlmAuthInst) |
static SsoServerAuthSvcImpl |
getAuthSvcMBean()
Return the pointer to the authentication service mbean
|
static SsoServerConnPoolSvcImpl |
getConnPoolSvcMBean() |
static CtsConnectionFailureRate |
getCtsConnectionFailureRateMBean()
Return the pointer to the CtsConnectionFailureRate mbean
|
static CtsConnectionSuccessRate |
getCtsConnectionSuccessRateMBean()
Return the pointer to the CtsConnectionFailureRate mbean
|
static CtsMonitoring |
getCtsMonitoringMBean()
Return the pointer to the CTSMonitor mbean
|
static CtsSessions |
getCtsSessionsMBean() |
static boolean |
getDsIsEmbedded() |
static SsoServerEntitlementSvcImpl |
getEntitlementsGroup()
Return the pointer to the Entitlements Service mbean
|
static String |
getEscRealmNameFromIndex(Integer index) |
static SsoServerFedCOTsImpl |
getFedCOTsMBean()
Return the pointer to the Fed COTs mbean
|
static SsoServerFedEntitiesImpl |
getFedEntsMBean()
Return the pointer to the Federation Entities mbean
|
static SsoServerIDFFSvcImpl |
getIdffSvcMBean()
Return the pointer to the IDFF service mbean
|
static SsoServerIdRepoSvcImpl |
getIdrepoSvcMBean()
Return the pointer to the IdRepo service mbean
|
static InternalSessions |
getInternalSessionsMBean() |
static SsoServerLoggingSvcImpl |
getLoggingSvcMBean()
Return the pointer to the logging service mbean
|
static Map<String,String> |
getNamingTable() |
static SsoServerPolicySvcImpl |
getPolicySvcMBean()
Return the pointer to the policy service mbean
|
protected static int |
getPolicyWindowSize()
Return the size of the policy window to configure.
|
static PolicyEvaluation |
getPrivilegeEvaluationMBean() |
static Integer |
getRealmIndexFromName(String name) |
static String |
getRealmNameFromDN(String rlmDN) |
static String |
getRealmNameFromIndex(Integer index) |
static RemoteSessions |
getRemoteSessionsMBean() |
static SsoServerSAML1SvcImpl |
getSaml1SvcMBean()
Return the pointer to the SAML1 service mbean
|
static SsoServerSAML2IDPEntryImpl |
getSAML2IDPEntry(String rlmSAMLIDP) |
static SsoServerSAML2SPEntryImpl |
getSAML2SPEntry(String rlmSAMLSP) |
static SsoServerSAML2SvcImpl |
getSaml2SvcMBean()
Return the pointer to the SAML2 service mbean
|
static SelfEvaluation |
getSelfEvaluationMBean() |
static SelfTiming |
getSelfTimingMBean() |
static Map<String,String> |
getServerIdTable() |
protected static int |
getSessionWindowSize()
Return the size of the session window to configure.
|
static SsoServerSessSvcImpl |
getSessSvcMBean()
Return the pointer to the session service mbean
|
static String |
getSiteId() |
static Map<String,String> |
getSiteIdTable() |
static Map<String,String> |
getSiteToURLTable() |
static SsoServerSvcMgmtSvcImpl |
getSmSvcMBean()
Return the pointer to the service service mbean
|
static com.sun.management.comm.SnmpAdaptorServer |
getSnmpAdaptor()
Return a reference to the SNMP adaptor server.
|
static String |
getSsoName() |
static String |
getSsoPort() |
static String |
getSsoProtocol() |
static String |
getSsoSvrID() |
static String |
getSsoURI() |
static String |
getStartDate() |
static StatelessSessions |
getStatelessSessionsMBean() |
static SubtreeEvaluation |
getSubtreeEvaluationMBean() |
static SubtreeTiming |
getSubtreeTimingMBean() |
static SsoServerInstanceImpl |
getSvrInstanceMBean()
Return the pointer to the Server Instance mbean
|
static SsoServerTopologyImpl |
getTopologyMBean()
Return the pointer to the Topology mbean
|
static Map<String,String> |
getURLToSiteTable() |
protected static boolean |
isRunning()
Return whether agent is "running" or not
Monitoring implementations should not call this method directly, but
instead, they should call
MonitoringUtil.isRunning() . |
static void |
main(String[] args)
Main entry point.
|
static int |
realmConfigMonitoringAgent(SSOServerRealmInfo rlmInfo)
process configuration for a realm
|
static int |
realmsConfig(List<String> realmList)
receive ordered list of realms
|
static int |
saml1TPConfig(List<String> s1TPInfo)
process saml1.x trusted partners (global)
|
static void |
setMonitoringDisabled() |
static void |
siteAndServerInfo(SSOServerInfo svrInfo)
Receives Site and Server configuration information from
WebtopNaming.
|
static void |
siteNames(Map<String,String> sNames,
Map<String,String> urlSites)
receive Set of site names
|
static int |
startAgent(SSOServerMonConfig monConfig)
This method starts up the monitoring agent from the
common/ConfigMonitoring module (load-on-startup or at the
end of AMSetupServlet/configuration).
|
static void |
stopRMI() |
static void |
usage()
Return usage of the program.
|
public static final int MON_CONFIG_DISABLED
public static final int MON_MBEANSRVR_PROBLEM
public static final int MON_RMICONNECTOR_PROBLEM
public static final int MON_CREATEMIB_PROBLEM
public static final int MON_READATTRS_PROBLEM
public static void stopRMI()
public static void siteAndServerInfo(SSOServerInfo svrInfo)
public static int startAgent(SSOServerMonConfig monConfig)
monConfig
- SSOServerMonConfig structure of OpenAM configurationprotected static boolean isRunning()
MonitoringUtil.isRunning()
.protected static int getPolicyWindowSize()
protected static int getSessionWindowSize()
public static SsoServerAuthSvcImpl getAuthSvcMBean()
public static SsoServerConnPoolSvcImpl getConnPoolSvcMBean()
public static SsoServerSessSvcImpl getSessSvcMBean()
public static SsoServerLoggingSvcImpl getLoggingSvcMBean()
public static SsoServerPolicySvcImpl getPolicySvcMBean()
public static SsoServerIdRepoSvcImpl getIdrepoSvcMBean()
public static SsoServerSvcMgmtSvcImpl getSmSvcMBean()
public static SsoServerSAML1SvcImpl getSaml1SvcMBean()
public static SsoServerSAML2SvcImpl getSaml2SvcMBean()
public static SsoServerIDFFSvcImpl getIdffSvcMBean()
public static SsoServerTopologyImpl getTopologyMBean()
public static SubtreeEvaluation getSubtreeEvaluationMBean()
public static SubtreeTiming getSubtreeTimingMBean()
public static SelfEvaluation getSelfEvaluationMBean()
public static PolicyEvaluation getPrivilegeEvaluationMBean()
public static SelfTiming getSelfTimingMBean()
public static InternalSessions getInternalSessionsMBean()
public static CtsSessions getCtsSessionsMBean()
public static RemoteSessions getRemoteSessionsMBean()
public static StatelessSessions getStatelessSessionsMBean()
public static CtsMonitoring getCtsMonitoringMBean()
public static CtsConnectionFailureRate getCtsConnectionFailureRateMBean()
public static CtsConnectionSuccessRate getCtsConnectionSuccessRateMBean()
public static SsoServerInstanceImpl getSvrInstanceMBean()
public static SsoServerFedCOTsImpl getFedCOTsMBean()
public static SsoServerFedEntitiesImpl getFedEntsMBean()
public static SsoServerEntitlementSvcImpl getEntitlementsGroup()
public static String getSsoProtocol()
public static String getSsoName()
public static String getSsoPort()
public static String getSsoURI()
public static String getSsoSvrID()
public static boolean getDsIsEmbedded()
public static String getStartDate()
public static String getSiteId()
public static void siteNames(Map<String,String> sNames, Map<String,String> urlSites)
sNames
- site name -> primary URLurlSites
- is opposite... primary URL -> site namepublic static int realmConfigMonitoringAgent(SSOServerRealmInfo rlmInfo)
public static void configAgentsOnly(String realm, Map<String,Map<String,String>> agtAttrs)
public static void configAgentGroups(String realm, Map<String,Map<String,String>> agtAttrs)
public static int saml1TPConfig(List<String> s1TPInfo)
public static int federationConfig(SSOServerRealmFedInfo srfi)
public static SsoServerAuthModulesEntryImpl getAuthModuleEntry(String rlmAuthInst)
public static SSOServerInfo getAgentSvrInfo()
public static SsoServerSAML2IDPEntryImpl getSAML2IDPEntry(String rlmSAMLIDP)
public static SsoServerSAML2SPEntryImpl getSAML2SPEntry(String rlmSAMLSP)
public static void setMonitoringDisabled()
public static void main(String[] args)
public static com.sun.management.comm.SnmpAdaptorServer getSnmpAdaptor()
public static void usage()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.