[jboss-jira] [JBoss JIRA] Created: (JBAS-7820) StackoverflowError during login

Stefan Ries (JIRA) jira-events at lists.jboss.org
Thu Mar 18 05:12:44 EDT 2010


StackoverflowError during login
-------------------------------

                 Key: JBAS-7820
                 URL: https://jira.jboss.org/jira/browse/JBAS-7820
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Security
    Affects Versions: JBossAS-5.0.0.GA
         Environment: windows XP
            Reporter: Stefan Ries
            Assignee: Anil Saldhana


I'm using a custom loginmodule which accesses a secured bean "SecurityBean". I'm using module-stacking with the RunAsLoginModule to gain access to the secured bean.
The bean again accesses another beans "WorkflowBean" to collect userdata. With JBoss 4.3 everything was working fine. Now with JBoss 5.0, the behaviour is like this:
- The loginmodule successfully accesses the SecurityBean
- When the SecurityBean accesses the WorkflowBean, the interceptor kicks in and forces another authentication with the loginmodule.
This leads to an endless recursion. Both beans have the same securitycontext.

-- 
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