Uses of Class
javax.security.auth.Subject
-
Packages that use Subject Package Description com.sun.security.auth Provides implementations ofPrincipal.com.sun.security.auth.module Provides implementations ofLoginModule.com.sun.security.jgss This package defines classes and interfaces for the JDK extensions to the GSS-API.java.security Provides the classes and interfaces for the security framework.javax.management.remote Interfaces for remote access to JMX MBean servers.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.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 com.sun.security.auth
Methods in com.sun.security.auth with parameters of type Subject Modifier and Type Method Description booleanPrincipalComparator. implies(Subject subject)Check if the specifiedSubjectis implied by this object. -
Uses of Subject in com.sun.security.auth.module
Methods in com.sun.security.auth.module with parameters of type Subject Modifier and Type Method Description voidJndiLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidKeyStoreLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidKrb5LoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidLdapLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidNTLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidUnixLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule. -
Uses of Subject in com.sun.security.jgss
Methods in com.sun.security.jgss that return Subject Modifier and Type Method Description static SubjectGSSUtil. createSubject(GSSName principals, GSSCredential credentials)Use this method to convert a GSSName and GSSCredential into a Subject. -
Uses of Subject in java.security
Methods in java.security with parameters of type Subject Modifier and Type Method Description default booleanPrincipal. implies(Subject subject)Returns true if the specified subject is implied by this principal.abstract voidAuthProvider. login(Subject subject, CallbackHandler handler)Log in to this provider. -
Uses of Subject in javax.management.remote
Methods in javax.management.remote that return Subject Modifier and Type Method Description SubjectJMXAuthenticator. authenticate(Object credentials)Authenticates theMBeanServerConnectionclient with the given client credentials.Methods in javax.management.remote with parameters of type Subject Modifier and Type Method Description MBeanServerConnectionJMXConnector. getMBeanServerConnection(Subject delegationSubject)Returns anMBeanServerConnectionobject representing a remote MBean server on which operations are performed on behalf of the supplied delegation subject. -
Uses of Subject in javax.management.remote.rmi
Constructors in javax.management.remote.rmi with parameters of type Subject Constructor Description RMIConnectionImpl(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String,?> env)Constructs a newRMIConnection. -
Uses of Subject in javax.security.auth
Methods in javax.security.auth that return Subject Modifier and Type Method Description static SubjectSubject. getSubject(AccessControlContext acc)Get theSubjectassociated with the providedAccessControlContext.SubjectSubjectDomainCombiner. getSubject()Get theSubjectassociated with thisSubjectDomainCombiner.Methods in javax.security.auth with parameters of type Subject Modifier and Type Method Description static <T> TSubject. doAs(Subject subject, PrivilegedAction<T> action)Perform work as a particularSubject.static <T> TSubject. doAs(Subject subject, PrivilegedExceptionAction<T> action)Perform work as a particularSubject.static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc)Perform privileged work as a particularSubject.static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)Perform privileged work as a particularSubject.Constructors in javax.security.auth with parameters of type Subject Constructor Description SubjectDomainCombiner(Subject subject)Associate the providedSubjectwith thisSubjectDomainCombiner. -
Uses of Subject in javax.security.auth.login
Methods in javax.security.auth.login that return Subject Modifier and Type Method Description SubjectLoginContext. getSubject()Return the authenticated Subject.Constructors in javax.security.auth.login with parameters of type Subject Constructor Description LoginContext(String name, Subject subject)Instantiate a newLoginContextobject with a name and aSubjectobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, and aCallbackHandlerobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, aCallbackHandlerobject, and a loginConfiguration. -
Uses of Subject in javax.security.auth.spi
Methods in javax.security.auth.spi with parameters of type Subject Modifier and Type Method Description voidLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.
-