org.jboss.jca.core.spi.security

## Interface SubjectFactory

-     public interface SubjectFactory

  Subject factory
  Author:
    Jesper Pedersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.security.auth.Subject` | `createSubject()` Create a Subject instance based on the default policy of the implementation
    `javax.security.auth.Subject` | `createSubject(java.lang.String sd)` Create a Subject instance

- - ### Method Detail

    - #### createSubject

          javax.security.auth.Subject createSubject()

      Create a Subject instance based on the default policy of the implementation
      Returns:
        The Subject

    - #### createSubject

          javax.security.auth.Subject createSubject(java.lang.String sd)

      Create a Subject instance
      Parameters:
        `sd` - The security domain
      Returns:
        The Subject

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)