0 Replies Latest reply on Oct 26, 2011 11:59 AM by Alvar Hanso

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

    Alvar Hanso Newbie

      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-- Security checking request GET /abx-tax/csm

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

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

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

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

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

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

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

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

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

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

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

      17:53:10,614 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--  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?