Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-280

JASPI configuration delegating to JAAS login configuration

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.0.2.CR7
    • 2.0.2.CR6
    • JBossSX
    • None
    • Medium

      <deployment xmlns="urn:jboss:bean-deployer:2.0">

      <application-policy xmlns="urn:jboss:security-beans:1.0"
      name="jaspi-test">
      <authentication-jaspi>
      <login-module-stack name="lm-stack">

      <login-module
      code="org.jboss.security.auth.spi.UsersRolesLoginModule"
      flag="required">

      </login-module>
      </login-module-stack>

      <auth-module code="org.jboss.web.tomcat.security.jaspi.modules.HTTPBasicServerAuthModule" login-module-stack-ref="lm-stack"/>
      </authentication-jaspi>
      </application-policy>

      </deployment>

      Now since the jaspi layer tries to delegate stuff to the JAAS layer. We need to ensure that the JDK Configuration.getAppConfigurationEntry("jaspi-test") should be returning the stuff that is defined in the login module stack.

            sguilhen Stefan Guilhen
            anil.saldhana Anil Saldanha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: