JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
javax.security.auth.Subject

Packages that use Subject
javax.security.auth This package provides a framework for authentication and authorization. 
javax.security.auth.login This package provides a pluggable authentication framework. 
javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules. 
 

Uses of Subject in javax.security.auth
 

Methods in javax.security.auth that return Subject
 Subject SubjectDomainCombiner.getSubject()
          Get the Subject associated with this SubjectDomainCombiner.
static Subject Subject.getSubject(AccessControlContext acc)
          Get the Subject associated with the provided AccessControlContext.
 

Methods in javax.security.auth with parameters of type Subject
abstract  PermissionCollection Policy.getPermissions(Subject subject, CodeSource cs)
          Deprecated. Retrieve the Permissions granted to the Principals associated with the specified CodeSource.
static Object Subject.doAs(Subject subject, PrivilegedAction action)
          Perform work as a particular Subject.
static Object Subject.doAs(Subject subject, PrivilegedExceptionAction action)
          Perform work as a particular Subject.
static Object Subject.doAsPrivileged(Subject subject, PrivilegedAction action, AccessControlContext acc)
          Perform privileged work as a particular Subject.
static Object Subject.doAsPrivileged(Subject subject, PrivilegedExceptionAction action, AccessControlContext acc)
          Perform privileged work as a particular Subject.
 

Constructors in javax.security.auth with parameters of type Subject
SubjectDomainCombiner(Subject subject)
          Associate the provided Subject with this SubjectDomainCombiner.
 

Uses of Subject in javax.security.auth.login
 

Methods in javax.security.auth.login that return Subject
 Subject LoginContext.getSubject()
          Return the authenticated Subject.
 

Constructors in javax.security.auth.login with parameters of type Subject
LoginContext(String name, Subject subject)
          Constructor for the LoginContext class.
LoginContext(String name, Subject subject, CallbackHandler callbackHandler)
          Constructor for the LoginContext class.
 

Uses of Subject in javax.security.auth.spi
 

Methods in javax.security.auth.spi with parameters of type Subject
 void LoginModule.initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
          Initialize this LoginModule.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.