Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1670

JASPI documentation is not sufficient

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      Chapter "Configure Java Authentication SPI for Containers (JASPI) Security" need more info.

      Please fix following two points:

      1) There has to be information about configuration of Valve which enables JASPI authentication. You can use community wiki as a starting point:
      https://community.jboss.org/wiki/JBossAS7EnablingJASPIAuthenticationForWebApplications

      2) Use CLI commands instead of XML fragments to describe how to configure a security domain with JASPI authentication.
      E.g:

      /subsystem=security/security-domain=jaspi-test:add(cache-type=default)
      /subsystem=security/security-domain=jaspi-test/authentication=jaspi:add
      /subsystem=security/security-domain=jaspi-test/authentication=jaspi/auth-module=basic-auth-module:add(code="org.jboss.as.web.security.jaspi.modules.HTTPBasicServerAuthModule", flag="required", login-module-stack-ref="lm-stack")
      /subsystem=security/security-domain=jaspi-test/authentication=jaspi/login-module-stack=lm-stack:add
      /subsystem=security/security-domain=jaspi-test/authentication=jaspi/login-module-stack=lm-stack/login-module=users:add(code="UsersRoles", flag="required", module-options=[("usersProperties"=>"${jboss.server.config.dir}/jaspi-users.properties"), ("rolesProperties"=>"${jboss.server.config.dir}/jaspi-roles.properties")])
      reload

      migrated from BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1124384

        Attachments

          Activity

            People

            Assignee:
            dfitzmau Darragh Fitzmaurice
            Reporter:
            anrobert ANGELA ROBERTSON (Inactive)
            Tester:
            Ondrej Lukas Ondrej Lukas (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: