[
https://jira.jboss.org/jira/browse/JBPORTAL-2143?page=com.atlassian.jira....
]
Sohil Shah commented on JBPORTAL-2143:
--------------------------------------
The Login/Logout part needs to be done as if you are simulating the browser/end user
performing those actions sending in http requests
as far as getting the state of the system (Last Login Property stored in the storage), you
don't need to write a portlet, since this is not a UI level action
You can invoke the UserModule method remotely (JMX service)
or
You can use the remoting framework of jboss-unit and get that information by using a
server side agent that sends the data back via the TestContext (this is a bit complicated
especially since this approach is not that greatly documented)
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