org.modeshape.jcr.security

## Class JaccSubjectResolver

- java.lang.Object
- - org.modeshape.jcr.security.JaccSubjectResolver

- All Implemented Interfaces:
    JaasProvider.SubjectResolver

      public class JaccSubjectResolver
      extends Object
      implements JaasProvider.SubjectResolver

  A class that can resolve the current JAAS `Subject` using the JACC API. Note that the JACC API is assumed provided; if not, loading this class will fail.

  See MODE-1270 for details.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JaccSubjectResolver()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JaccSubjectResolver

          public JaccSubjectResolver()

  - ### Method Detail

    - #### resolveSubject

          public Subject resolveSubject()

      Description copied from interface: `JaasProvider.SubjectResolver`
      Get the current JAAS Subject.
      Specified by:
        `resolveSubject` in interface `JaasProvider.SubjectResolver`
      Returns:
        the subject, or null if the Subject could not be resolved

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