Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-127

AuthN Validator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-RC40
    • 1.0.0-RC42
    • None

    Description

      Here's how it works.

      1. create a new class, that extends org.apache.directory.fortress.core.util.AuthNValidator

      2. implement the abstract method validate:

      public int validate(Session session, Constraint constraint, Time time, VUtil.ConstraintType type )

      { super.setRoleName( "AuthNUsers" ); return super.validate( session, constraint, time, type ); }

      Place the name of the role to verify.

      3. add a new property to invoke your new class:
      <config props="temporal.validator.5:org.mine.util.AuthNUserValidator"/>

      4. add the new class to runtime classpath of fortress

      5. add the new role.

      6. assign to users as needed.

      This validator will deactive the specified role iff the user is not authenticated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            smckinney Shawn McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: