Hi jboss-jaas gurus,

please save my time :((

I just a hour ago downloaded the last JBoss version from CVS

And after i run my cleint i do getting such log information:

[EMailManager] Illegal access, principal=DDD method=create

        EMailManager is the SessionBean.
        I do using my writen DialogLoginModule implements LoginModule where in the 
boolean login() function i check login and password in my oracle DBs
in my jboss.xml of this Session bean i have 
        <container-configurations>
                <container-configuration>
                        <container-name>Standard Stateless SessionBean</container-name>
                        <role-mapping-manager>java:/jaas/other</role-mapping-manager>
                        <authentication-module>java:/jaas/other</authentication-module>
                </container-configuration>
        </container-configurations>

in auth.conf (server) i have 
other {
    com.ls.dialog.util.JB.DialogLoginModule required db="java:/oraclePool" 
table="JBossUsersTable" name="UserName" password="UserPassword";    
}

Any suggestions why i getting Illegal access?
It seems like in the file org.jboss.ejb.plugins.SecurityInterceptor.java 
realmMapping.doesUserHaveRole(principal, methodRoles) == false 
How i can set the Role for my client or maybe by default all roles are disabled?

BTW
With the version i took a month ago such configuration was working fine.

Thanks in advance.

D&D


Darius Davidavicius
Living-Source
http://www.living-source.com/team_employee.php3?e_id=9&e_nextid=2
ICQ: 18325334



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to