wood burning stoves*
The moose likes Distributed Java and the fly likes Retrieve PasswordExpirationDate from Central Management Server using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Retrieve PasswordExpirationDate from Central Management Server using Java" Watch "Retrieve PasswordExpirationDate from Central Management Server using Java" New topic
Author

Retrieve PasswordExpirationDate from Central Management Server using Java

sathya anu
Greenhorn

Joined: Mar 21, 2012
Posts: 1
I am very new to the CMC(Central Management Console). CMC uses CMS server. Through Java I need to retrieve password expiration date from CMC.
In the CMC,BusinessObjects Enterprise password expiration rules has been set on the Enterprise tab.

In the Java class, the BO oject returns like this.

String cmsName = "localhost";
String authType = "secEnterprise";
IEnterpriseSession boEnterpriseSession = null;
IInfoStore boInfoStore = null;

boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password, cmsName, authType);
String query = "SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_ID=" + userId;
IInfoObjects boInfoObjects = (IInfoObjects) boInfoStore.query(query);
IUser boUser = (IUser) boInfoObjects.get(0);

My Question is How should I get the Password Expiration Date from the boUser Object?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve PasswordExpirationDate from Central Management Server using Java
 
Similar Threads
tomcat not contact another server ip address
Regarding CMC work culture
Want to access a secure site data with the use of URL class.
Number Format Exception Error
Getting services to work with NTLM Authentication over HTTPS/SSL