[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2143) test the UserInterceptor

Sohil Shah (JIRA) jira-events at lists.jboss.org
Wed Aug 27 12:24:27 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBPORTAL-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12426964#action_12426964 ] 

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

        



More information about the jboss-jira mailing list