I am trying to read the realm timeouts using java SDK which looks like below. Appreciate any help, thanks in advance!!
Considering I have an agentapi initialized.
SmApiConnection apiConnection = new SmApiConnection(agentapi);
apiConnection.isValidApiConnection() –> returning true
SmApiSession apiSession = new SmApiSession(apiConnection);
SmApiConnection smAPIConnection = apiSession.getApiConnection();
smAPIConnection.isValidApiConnection() –> returning true
SmPolicyApiImpl policyApi = new SmPolicyApiImpl(apiSession);
String domainNameString = “”;
SmRealm smRealm = new SmRealm();
smRealm.setAgent(agentapi);
smRealm.setDomain(domainOid);
SmApiResult domainNameObj = policyApi.getDomainObject(domainNameString, domainOid, smRealm); domainOid à value retreived from agentapi.isProtected call.
domainNameObj.isSuccess() –>returning false
SmApiResult apiResult = policyApi.getRealm(targetUrl, smRealm.getDomainName(), smRealm);
domainNameObj.isSuccess() –>returning false
LOGGER.warn(“getIdleTimeout value : ” +smRealm.getIdleTimeout() ); –>returning 3600
LOGGER.warn(“getMaxTimeout value : ” +smRealm.getMaxTimeout() ); –>returning 7200
The returned timeout values (which looks like default values) are not the same I see in SiteMinder Administrative UI.
Source: New feed
{pubDate}