JBoss Community

Username xa does NOT have role ${abxtax.user.rolename}

created by Alvar Hanso in JBoss AS7 Development - View the full discussion

I must admit I don't really know a lot about JBoss, but I am migrating an application from JBoss 6 to 7.

 

Now I get this error when I try to login:

 

17:53:10,584 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1) Security checking request GET /abx-tax/csm

17:53:10,584 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1)   Checking constraint 'SecurityConstraint[CSMServlet]' against GET /csm --> true

17:53:10,585 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1)  Calling hasUserDataPermission()

17:53:10,586 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1)   User data constraint has no restrictions

17:53:10,587 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1)  Calling authenticate()

17:53:10,607 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1) Authenticated 'xa' with type 'BASIC'

17:53:10,607 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1)  Calling accessControl()

17:53:10,609 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1)   Checking roles GenericPrincipal[xa(abx_tax_admin,abx_tax_user,)]

17:53:10,610 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1) Username xa does NOT have role ${abxtax.user.rolename}

17:53:10,611 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1) No role found:  ${abxtax.user.rolename}

17:53:10,612 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1) Username xa does NOT have role ${abxtax.admin.rolename}

17:53:10,613 DEBUG [org.apache.catalina.realm.RealmBase] (http--127.0.0.1-9090-1) No role found:  ${abxtax.admin.rolename}

17:53:10,614 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-9090-1)  Failed accessControl() test

 

${abxtax.admin.rolename} is used in a web.xml file in the deployed WAR.

 

What could be the reason for this error?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community