0 Replies Latest reply on Dec 26, 2006 1:10 PM by Chris Schmidt

    401 Error

    Chris Schmidt Newbie

      I am trying to set up logging in on the server.
      My login is working. but I get a
      type Status report

      message

      description This request requires HTTP authentication ().
      every other link i click on or if I just push refresh over and over 1 out of 5 it might actual show up.




      JBoss Portal Version : 2.4.0 Bundled
      Did you get Portal from CVS? or download it? Downloaded
      JBoss AS Version No changes to bundle
      Database Vendor and Version No changes to bundle
      JDBC Connector and Version No changes to bundle
      OS Platform SUSE 9


      login-config.xml inside portal.sar
      Snipet..
      <application-policy name="portal">

      <login-module code="org.jboss.portal.identity.auth.IdentityLoginModule" flag="sufficient">
      <module-option name="unauthenticatedIdentity">guest</module-option>
      <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
      <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
      <module-option name="additionalRole">Authenticated</module-option>
      <module-option name="password-stacking">useFirstPass</module-option>
      </login-module>
      <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required" >
      <module-option name="java.naming.factory.initial">
      com.sun.jndi.ldap.LdapCtxFactory
      </module-option>
      <module-option name="java.naming.provider.url">
      ldap://ixxxxxxx.xxx.xxx:389/
      </module-option>
      <module-option name="java.naming.security.authentication">
      simple
      </module-option>
      <module-option name="bindDN">xxxxxxx/module-option>
      <module-option name="bindCredential">xxxxxxxx</module-option>
      <module-option name="baseCtxDN">o=users</module-option>
      <module-option name="baseFilter">(cn={0})</module-option>
      <module-option name="rolesCtxDN">o=users</module-option>
      <module-option name="roleFilter">(cn={0})</module-option>
      <module-option name="roleAttributeID">GroupMembership</module-option>
      <module-option name="roleRecursion">3</module-option>
      <module-option name="roleNameAttributeID">cn</module-option>
      <module-option name="roleAttributeIsDN">true</module-option>
      <module-option name="searchTimeLimit">5000</module-option>
      <module-option name="searchScope">SUBTREE_SCOPE</module-option>
      </login-module>


      </application-policy>