org.modeshape.jcr.security

## Interface JaasProvider.SubjectResolver

- All Known Implementing Classes:
    JaccSubjectResolver
  Enclosing class:
    JaasProvider

      public static interface JaasProvider.SubjectResolver

  An extension point for the JaasProvider class that allows for custom logic for finding the current JAAS Subject, if not already available via the `Subject.getSubject(AccessController.getContext())` method. That method returns null in J2EE applications.
  See Also:
    `JaccSubjectResolver`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Subject` | `resolveSubject()` Get the current JAAS Subject.

- - ### Method Detail

    - #### resolveSubject

          Subject resolveSubject()

      Get the current JAAS Subject.
      Returns:
        the subject, or null if the Subject could not be resolved

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.