[
https://jira.jboss.org/jira/browse/JBPORTAL-2143?page=com.atlassian.jira....
]
Prabhat Jha commented on JBPORTAL-2143:
---------------------------------------
Sohil,
I have created a simple portlet that display last login date of a user. You can see it in
action at
http://perf11.qa.atl2.redhat.com:8080/portal/portal/default/UsersDetailPage. As
you can see, I have not logged in as admin yet so you the value for admin is null but for
user is some valid date. As expected this value was populated when "user" logged
out. I have not applied the patch yet. The way I get this value in portlet is:
user = userModule.findUserByUserName(userName);
lastLoginDate = (String) userProfileModule.getProperty(user,
User.INFO_USER_LAST_LOGIN_DATE);
Does this suffice?
I will also show you the results with your patch as well but I wanted you to see if I am
in write track.
But I want to follow up on JMX way as well because that will be handy in other use cases.
When you said invoke UserModule remotely, did you mean twiddle or right a java client to
do that? In both situation, I will need your help.
test the UserInterceptor
------------------------
Key: JBPORTAL-2143
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2143
Project: JBoss Portal
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Sohil Shah
Assignee: Viliam Rockai
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira