1 Reply Latest reply on Mar 28, 2006 9:05 AM by chris griffith

    JAAS Authentication (contd....)

    Susitha Bandara Newbie

      Hi JUNKIE....

      Remember me....My forum is forwarded to JBPortal forums. But, there are no replies. So, again I am asking a help from you...

      I have done the configurations you have told and now the logging is successful... But the thing is now I'm getting the same HTTP error....

      Code:

      HTTP Status 403 - Access to the requested resource has been denied
      
      --------------------------------------------------------------------------------
      
      type Status report
      
      message Access to the requested resource has been denied
      
      description Access to the specified resource (Access to the requested resource has been denied) has
      been forbidden.
      
      
      --------------------------------------------------------------------------------
      
      Apache Tomcat/5.5.9
      




      following is my TRACE log file...

      Code:

      2006-03-27 08:33:39,782 DEBUG [org.jboss.security.plugins.SecurityConfig] Creating jboss.security:se
      rvice=SecurityConfig
      2006-03-27 08:33:39,792 DEBUG [org.jboss.security.plugins.SecurityConfig] Created jboss.security:ser
      vice=SecurityConfig
      2006-03-27 08:33:39,792 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating jboss.security
      :service=XMLLoginConfig
      2006-03-27 08:33:39,792 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created jboss.security:
      service=XMLLoginConfig
      2006-03-27 08:33:39,802 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating jboss
      .security:service=JaasSecurityManager
      2006-03-27 08:33:39,802 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created jboss.
      security:service=JaasSecurityManager
      2006-03-27 08:33:40,744 DEBUG [org.jboss.security.plugins.SecurityConfig] Starting jboss.security:se
      rvice=SecurityConfig
      2006-03-27 08:33:40,754 DEBUG [org.jboss.security.plugins.SecurityConfig] Installed JAAS Configurati
      on service=jboss.security:service=XMLLoginConfig, config=org.jboss.security.auth.login.XMLLoginConfi
      gImpl@10fe2b9
      2006-03-27 08:33:40,754 DEBUG [org.jboss.security.plugins.SecurityConfig] Started jboss.security:ser
      vice=SecurityConfig
      2006-03-27 08:33:40,754 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Starting jboss.security
      :service=XMLLoginConfig
      2006-03-27 08:33:40,754 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin loadConfig, l
      oginConfigURL=file:/Z:/server/portal_modified/conf/login-config.xml
      2006-03-27 08:33:40,754 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config
      as XML, url=file:/Z:/server/portal_modified/conf/login-config.xml
      2006-03-27 08:33:41,125 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, log
      inConfigURL=file:/Z:/server/portal_modified/conf/login-config.xml
      2006-03-27 08:33:41,125 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Started jboss.security:
      service=XMLLoginConfig
      2006-03-27 08:33:41,135 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Starting jboss
      .security:service=JaasSecurityManager
      2006-03-27 08:33:41,205 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] securityMgrCtx
      Path=java:/jaas
      2006-03-27 08:33:41,215 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] cachePolicyCtx
      Path=java:/timedCacheFactory
      2006-03-27 08:33:41,225 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] SecurityProxyF
      actory=org.jboss.security.SubjectSecurityProxyFactory@83b1b
      2006-03-27 08:33:41,245 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Started jboss.
      security:service=JaasSecurityManager
      2006-03-27 08:34:07,496 TRACE [org.jboss.security.auth.login.DynamicLoginConfig] Constructing
      2006-03-27 08:34:08,687 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Creating portal:ser
      vice=JAASLoginModule
      2006-03-27 08:34:08,697 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Created portal:serv
      ice=JAASLoginModule
      2006-03-27 08:34:08,868 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Starting portal:ser
      vice=JAASLoginModule
      2006-03-27 08:34:08,868 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Using JAAS AuthConf
      ig: file:/Z:/server/portal_modified/deploy/jboss-portal.sar/conf/login-config.xml
      2006-03-27 08:34:08,878 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config
      as XML, url=file:/Z:/server/portal_modified/deploy/jboss-portal.sar/conf/login-config.xml
      2006-03-27 08:34:08,908 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Loaded config: port
      al
      2006-03-27 08:34:08,908 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Loaded config: webd
      av
      2006-03-27 08:34:08,908 DEBUG [org.jboss.security.auth.login.DynamicLoginConfig] Started portal:serv
      ice=JAASLoginModule
      2006-03-27 08:34:20,896 TRACE [org.jboss.security.jacc.DelegatingPolicy] Loaded JACC permissions: tr
      ue
      2006-03-27 08:34:20,906 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=inv
      oker.war
      2006-03-27 08:34:20,987 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /:/restricted/*)
      2006-03-27 08:34:20,987 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =HttpInvoker, p=(javax.security.jacc.WebResourcePermission /restricted/* GET,POST)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /restricted/* DELETE,HEAD,OPTIONS,PUT,TRACE)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =HttpInvoker, p=(javax.security.jacc.WebRoleRefPermission JMXInvokerServlet HttpInvoker)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =HttpInvoker, p=(javax.security.jacc.WebRoleRefPermission ReadOnlyJNDIFactory HttpInvoker)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =HttpInvoker, p=(javax.security.jacc.WebRoleRefPermission JNDIFactory HttpInvoker)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =HttpInvoker, p=(javax.security.jacc.WebRoleRefPermission EJBInvokerServlet HttpInvoker)
      2006-03-27 08:34:20,997 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:25,393 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=por
      tal-cms.war
      2006-03-27 08:34:25,414 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =user, p=(javax.security.jacc.WebResourcePermission /* ACL,BASELINE-CONTROL,BIND,CHECKIN,CHECKOUT,CO
      PY,DELETE,GET,HEAD,LABEL,LOCK,MERGE,MKACTIVITY,MKCOL,MKWORKSPACE,MOVE,NOTIFY,OPTIONS,POLL,POST,PROPF
      IND,PROPPATCH,PUT,REBIND,REPORT,SEARCH,SUBSCRIBE,UNBIND,UNCHECKOUT,UNLOCK,UNSUBSCRIBE,UPDATE,VERSION
      -CONTROL)
      2006-03-27 08:34:25,414 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =root, p=(javax.security.jacc.WebResourcePermission /* ACL,BASELINE-CONTROL,BIND,CHECKIN,CHECKOUT,CO
      PY,DELETE,GET,HEAD,LABEL,LOCK,MERGE,MKACTIVITY,MKCOL,MKWORKSPACE,MOVE,NOTIFY,OPTIONS,POLL,POST,PROPF
      IND,PROPPATCH,PUT,REBIND,REPORT,SEARCH,SUBSCRIBE,UNBIND,UNCHECKOUT,UNLOCK,UNSUBSCRIBE,UPDATE,VERSION
      -CONTROL)
      2006-03-27 08:34:25,414 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =guest, p=(javax.security.jacc.WebResourcePermission /* ACL,BASELINE-CONTROL,BIND,CHECKIN,CHECKOUT,C
      OPY,DELETE,GET,HEAD,LABEL,LOCK,MERGE,MKACTIVITY,MKCOL,MKWORKSPACE,MOVE,NOTIFY,OPTIONS,POLL,POST,PROP
      FIND,PROPPATCH,PUT,REBIND,REPORT,SEARCH,SUBSCRIBE,UNBIND,UNCHECKOUT,UNLOCK,UNSUBSCRIBE,UPDATE,VERSIO
      N-CONTROL)
      2006-03-27 08:34:25,414 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /* TRACE)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =root, p=(javax.security.jacc.WebRoleRefPermission webdav root)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =root, p=(javax.security.jacc.WebRoleRefPermission webdav root)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =guest, p=(javax.security.jacc.WebRoleRefPermission webdav guest)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =guest, p=(javax.security.jacc.WebRoleRefPermission webdav guest)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =user, p=(javax.security.jacc.WebRoleRefPermission webdav user)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =user, p=(javax.security.jacc.WebRoleRefPermission webdav user)
      2006-03-27 08:34:25,424 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:26,766 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=por
      tal-core.war
      2006-03-27 08:34:26,766 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /:/auth)
      2006-03-27 08:34:26,776 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =Admin, p=(javax.security.jacc.WebResourcePermission /auth DELETE,GET,HEAD,POST,PUT)
      2006-03-27 08:34:26,776 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /auth OPTIONS,TRACE)
      2006-03-27 08:34:26,776 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:29,400 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=por
      tal-server.war
      2006-03-27 08:34:29,410 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /:/auth/*:/authsec/*:/sec/*)
      2006-03-27 08:34:29,410 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =Authenticated, p=(javax.security.jacc.WebResourcePermission /auth/*:/authsec/*)
      2006-03-27 08:34:29,410 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =Authenticated, p=(javax.security.jacc.WebResourcePermission /authsec/*)
      2006-03-27 08:34:29,410 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /sec/*)
      2006-03-27 08:34:29,410 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =Authenticated, p=(javax.security.jacc.WebRoleRefPermission PortalServlet Authenticated)
      2006-03-27 08:34:29,420 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =Authenticated, p=(javax.security.jacc.WebRoleRefPermission PortalServlet Authenticated)
      2006-03-27 08:34:29,420 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:31,002 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=jbo
      ss-ws4ee.war
      2006-03-27 08:34:31,002 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /services)
      2006-03-27 08:34:31,002 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /:/services)
      2006-03-27 08:34:31,002 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:32,064 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=ROO
      T.war
      2006-03-27 08:34:32,064 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /)
      2006-03-27 08:34:32,064 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:34,157 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=jud
      di.war
      2006-03-27 08:34:34,167 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /)
      2006-03-27 08:34:34,167 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:34:46,536 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=web
      -console.war
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Create Threshold Monitor JBossAdmin)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission HTTP Invocation JBossAdmin)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Manage Threshold Monitor JBossAdmin)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Clear Monitor Alerts JBossAdmin)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Manage Snapshot JBossAdmin)
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Manage String Threshold Monitor JBossAdmin)
      
      2006-03-27 08:34:46,546 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Create String Threshold Monitor JBossAdmin)
      
      2006-03-27 08:34:46,556 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Status Servlet JBossAdmin)
      2006-03-27 08:34:46,556 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission Create Snapshot JBossAdmin)
      2006-03-27 08:34:46,556 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:35:31,256 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=Hel
      loWorldPortlet.war
      2006-03-27 08:35:31,256 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /)
      2006-03-27 08:35:31,256 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=jmx
      -console.war
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebResourcePermission /* GET,POST)
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /* DELETE,HEAD,OPTIONS,PUT,TRACE)
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission HtmlAdaptor JBossAdmin)
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission DisplayOpResult JBossAdmin)
      2006-03-27 08:35:35,523 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission InspectMBean JBossAdmin)
      2006-03-27 08:35:35,533 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission DisplayMBeans JBossAdmin)
      2006-03-27 08:35:35,533 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToRole, roleName
      =JBossAdmin, p=(javax.security.jacc.WebRoleRefPermission ClusteredConsoleServlet JBossAdmin)
      2006-03-27 08:35:35,533 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:35:37,356 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=por
      tal-forums.ear
      2006-03-27 08:35:41,893 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] ctor, contextID=por
      tal-forums.war
      2006-03-27 08:35:41,893 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] addToUncheckedPolic
      y, p=(javax.security.jacc.WebResourcePermission /)
      2006-03-27 08:35:41,903 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] linkConfiguration,
      linkTo: portal-forums.war
      2006-03-27 08:35:41,903 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:35:46,289 TRACE [org.jboss.security.jacc.JBossPolicyConfiguration] commit
      2006-03-27 08:36:07,022 TRACE [org.jboss.security.SecurityAssociation] pushRunAsIdentity, runAs=null
      
      2006-03-27 08:36:12,040 TRACE [org.jboss.security.SecurityAssociation] popRunAsIdentity, runAs=null
      2006-03-27 08:36:12,060 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
      2006-03-27 08:36:21,765 TRACE [org.jboss.security.plugins.JaasSecurityManager] Constructing
      2006-03-27 08:36:21,765 TRACE [org.jboss.security.plugins.JaasSecurityManager] Constructing
      2006-03-27 08:36:21,775 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securi
      tyMgr=org.jboss.security.plugins.JaasSecurityManager@8dc627
      2006-03-27 08:36:21,795 DEBUG [org.jboss.security.plugins.JaasSecurityManager.portal] CachePolicy se
      t to: org.jboss.util.TimedCachePolicy@17d51a6
      2006-03-27 08:36:21,795 DEBUG [org.jboss.security.plugins.JaasSecurityManager.portal] CachePolicy se
      t to: org.jboss.util.TimedCachePolicy@17d51a6
      2006-03-27 08:36:21,795 DEBUG [org.jboss.security.plugins.JaasSecurityManager.portal] CachePolicy se
      t to: org.jboss.util.TimedCachePolicy@17d51a6
      2006-03-27 08:36:21,795 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy
      , c=org.jboss.util.TimedCachePolicy@17d51a6
      2006-03-27 08:36:21,795 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added portal,
      org.jboss.security.plugins.SecurityDomainContext@7b8be7 to map
      2006-03-27 08:36:21,805 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Begin isValid,
       cache info: null
      2006-03-27 08:36:21,805 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Begin isValid,
       cache info: null
      2006-03-27 08:36:21,805 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Begin isValid,
       cache info: null
      2006-03-27 08:36:21,815 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigu
      rationEntry(portal), size=10
      2006-03-27 08:36:21,815 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigura
      tionEntry(portal), authInfo=AppConfigurationEntry[]:
      [0]
      LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
      ControlFlag: LoginModuleControlFlag: required
      Options:name=rolesQuery, value=select Role, RoleGroup from Roles where PrincipalID=?
      name=principalsQuery, value=select Password from Principals where PrincipalID =?
      name=password-stacking, value=remote
      name=additionalRole, value=Authenticated
      name=factoryJNDIName, value=java:/portal/SessionFactory
      
      2006-03-27 08:36:21,865 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize
      2006-03-27 08:36:21,865 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] DatabaseServer
      LoginModule, dsJndiName=java:/DefaultDS
      2006-03-27 08:36:21,865 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuer
      y=select Password from Principals where PrincipalID =?
      2006-03-27 08:36:21,865 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=sel
      ect Role, RoleGroup from Roles where PrincipalID=?
      2006-03-27 08:36:21,865 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] login
      2006-03-27 08:36:21,965 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] User 'admin' a
      uthenticated, loginOk=true
      2006-03-27 08:36:21,965 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] commit, loginO
      k=true
      2006-03-27 08:36:22,015 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to
       role admin
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] updateCache, s
      ubject=Subject:
       Principal: admin
       Principal: Roles(members:admin)
      
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] updateCache, s
      ubject=Subject:
       Principal: admin
       Principal: Roles(members:admin)
      
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] updateCache, s
      ubject=Subject:
       Principal: admin
       Principal: Roles(members:admin)
      
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Inserted cache
       info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).principal
      s=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=1143428781
      795]
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Inserted cache
       info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).principal
      s=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=1143428781
      795]
      2006-03-27 08:36:22,045 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] Inserted cache
       info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).principal
      s=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=1143428781
      795]
      2006-03-27 08:36:22,055 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] End isValid, t
      rue
      2006-03-27 08:36:22,055 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] End isValid, t
      rue
      2006-03-27 08:36:22,055 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] End isValid, t
      rue
      2006-03-27 08:36:22,075 TRACE [org.jboss.security.SecurityAssociation] pushSubjectContext, subject=S
      ubject:
       Principal: admin
       Principal: Roles(members:admin)
      , principal=admin
      2006-03-27 08:36:22,085 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getPrincipal,
      cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).prin
      cipals=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=11434
      28781795]
      2006-03-27 08:36:22,085 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getPrincipal,
      cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).prin
      cipals=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=11434
      28781795]
      2006-03-27 08:36:22,085 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getPrincipal,
      cache info: org.jboss.security.plugins.JaasSecurityManager$DomainInfo@11eb50b[Subject(16782576).prin
      cipals=[admin, Roles(members:admin)],credential.class=java.lang.String@23930419,expirationTime=11434
      28781795]
      2006-03-27 08:36:22,095 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getUserRoles,
      subject: Subject:
       Principal: admin
       Principal: Roles(members:admin)
      
      2006-03-27 08:36:22,095 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getUserRoles,
      subject: Subject:
       Principal: admin
       Principal: Roles(members:admin)
      
      2006-03-27 08:36:22,095 TRACE [org.jboss.security.plugins.JaasSecurityManager.portal] getUserRoles,
      subject: Subject:
       Principal: admin
       Principal: Roles(members:admin)




      I think the problem is with the login.jsp the following it is also given...

      Code:

      <%@ page import="org.jboss.portal.common.util.Tools"%>
      <html>
      <head>
      <style>
      body { background-color:#FFFFFF;}
      td { color:#000000; font-family:verdana,arial,sans-serif; font-size: 12px; line-height:130%; }
      table.form
      {
      background-color:#CCFF99;
      border-style: groove;
      border-color: #000000;
      border-width: 5px;
      
      }
      </style>
      </head>
      <body OnLoad="document.loginform.j_username.focus();">
      
      <table width="100%" height="100%" cellpadding="0" cellspacing="1">
      <tr>
      <td valign="middle" align="center">
      
      <form method="POST" action="j_security_check" name="loginform">
      <b>JBoss Portal Login</b><br><br>
      <table width="350" height="200" cellpadding="0" cellspacing="0" class="form">
      <tr>
      <td align="right" width="100">
      Username:
      </td>
      <td align="left">
      <input type="text" name="j_username" value=""/>
      </td>
      </tr>
      <tr>
      <td align="right" width="100">
      Password:
      </td>
      <td align="left">
      <input type="password" name="j_password" value=""/>
      </td>
      </tr>
      <tr>
      <td colspan="2" align="center">
      <input type="submit" name="login" value="Login"/>
      </td>
      </tr>
      </table>
      </form>
      
      </td>
      </tr>
      </table>
      
      </body>
      </html>
      
      



      Can you please check wheather is there any mistakes...

      Thank you very very much to giving me this much of support...