Uses of Class
javax.security.auth.Subject
Packages that use Subject
Package
Description
Provides implementations of 
Principal.Provides implementations of 
LoginModule.This package defines classes and interfaces for the JDK extensions
 to the GSS-API.
Provides the classes and interfaces for the security framework.
Interfaces for remote access to
        JMX MBean servers.
The RMI connector is a connector for the JMX Remote API that
      uses RMI to transmit client requests to a remote MBean server.
This package provides a framework for authentication and
 authorization.
This package provides a pluggable authentication framework.
This package provides the interface to be used for
 implementing pluggable authentication modules.
- 
Uses of Subject in com.sun.security.authMethods in com.sun.security.auth with parameters of type Subject
- 
Uses of Subject in com.sun.security.auth.moduleMethods in com.sun.security.auth.module with parameters of type SubjectModifier and TypeMethodDescriptionvoidJndiLoginModule.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.jgssMethods in com.sun.security.jgss that return SubjectModifier and TypeMethodDescriptionstatic SubjectGSSUtil.createSubject(GSSName principals, GSSCredential credentials)Use this method to convert a GSSName and GSSCredential into a Subject.
- 
Uses of Subject in java.securityMethods in java.security with parameters of type SubjectModifier and TypeMethodDescriptiondefault booleanReturns 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.remoteMethods in javax.management.remote that return SubjectModifier and TypeMethodDescriptionJMXAuthenticator.authenticate(Object credentials)Authenticates theMBeanServerConnectionclient with the given client credentials.Methods in javax.management.remote with parameters of type SubjectModifier and TypeMethodDescriptionJMXConnector.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.rmiMethods in javax.management.remote.rmi with parameters of type SubjectModifier and TypeMethodDescriptionvoidRMIConnection.addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)voidRMIConnectionImpl_Stub.addNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, MarshalledObject $param_MarshalledObject_4, Subject $param_Subject_5)voidRMIConnectionImpl.addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)Integer[]RMIConnection.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)Integer[]RMIConnectionImpl_Stub.addNotificationListeners(ObjectName[] $param_arrayOf_ObjectName_1, MarshalledObject[] $param_arrayOf_MarshalledObject_2, Subject[] $param_arrayOf_Subject_3)Integer[]RMIConnectionImpl.addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)RMIConnection.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)Handles the methodMBeanServerConnection.createMBean(String, ObjectName, Object[], String[]).RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)Handles the methodMBeanServerConnection.createMBean(String, ObjectName, ObjectName).RMIConnection.createMBean(String className, ObjectName name, Subject delegationSubject)Handles the methodMBeanServerConnection.createMBean(String, ObjectName).RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, MarshalledObject $param_MarshalledObject_4, String[] $param_arrayOf_String_5, Subject $param_Subject_6)RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, ObjectName $param_ObjectName_3, Subject $param_Subject_4)RMIConnectionImpl_Stub.createMBean(String $param_String_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)RMIConnectionImpl.createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)RMIConnectionImpl.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)RMIConnectionImpl.createMBean(String className, ObjectName name, Subject delegationSubject)RMIConnection.getAttribute(ObjectName name, String attribute, Subject delegationSubject)Handles the methodMBeanServerConnection.getAttribute(ObjectName, String).RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)RMIConnectionImpl.getAttribute(ObjectName name, String attribute, Subject delegationSubject)RMIConnection.getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)Handles the methodMBeanServerConnection.getAttributes(ObjectName, String[]).RMIConnectionImpl_Stub.getAttributes(ObjectName $param_ObjectName_1, String[] $param_arrayOf_String_2, Subject $param_Subject_3)RMIConnectionImpl.getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)RMIConnection.getDefaultDomain(Subject delegationSubject)Handles the methodMBeanServerConnection.getDefaultDomain().RMIConnectionImpl_Stub.getDefaultDomain(Subject $param_Subject_1)RMIConnectionImpl.getDefaultDomain(Subject delegationSubject)String[]RMIConnection.getDomains(Subject delegationSubject)Handles the methodMBeanServerConnection.getDomains().String[]RMIConnectionImpl_Stub.getDomains(Subject $param_Subject_1)String[]RMIConnectionImpl.getDomains(Subject delegationSubject)RMIConnection.getMBeanCount(Subject delegationSubject)Handles the methodMBeanServerConnection.getMBeanCount().RMIConnectionImpl_Stub.getMBeanCount(Subject $param_Subject_1)RMIConnectionImpl.getMBeanCount(Subject delegationSubject)RMIConnection.getMBeanInfo(ObjectName name, Subject delegationSubject)Handles the methodMBeanServerConnection.getMBeanInfo(ObjectName).RMIConnectionImpl_Stub.getMBeanInfo(ObjectName $param_ObjectName_1, Subject $param_Subject_2)RMIConnectionImpl.getMBeanInfo(ObjectName name, Subject delegationSubject)RMIConnector.getMBeanServerConnection(Subject delegationSubject)RMIConnection.getObjectInstance(ObjectName name, Subject delegationSubject)Handles the methodMBeanServerConnection.getObjectInstance(ObjectName).RMIConnectionImpl_Stub.getObjectInstance(ObjectName $param_ObjectName_1, Subject $param_Subject_2)RMIConnectionImpl.getObjectInstance(ObjectName name, Subject delegationSubject)RMIConnection.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)Handles the methodMBeanServerConnection.invoke(ObjectName, String, Object[], String[]).RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1, String $param_String_2, MarshalledObject $param_MarshalledObject_3, String[] $param_arrayOf_String_4, Subject $param_Subject_5)RMIConnectionImpl.invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)booleanRMIConnection.isInstanceOf(ObjectName name, String className, Subject delegationSubject)Handles the methodMBeanServerConnection.isInstanceOf(ObjectName, String).booleanRMIConnectionImpl_Stub.isInstanceOf(ObjectName $param_ObjectName_1, String $param_String_2, Subject $param_Subject_3)booleanRMIConnectionImpl.isInstanceOf(ObjectName name, String className, Subject delegationSubject)booleanRMIConnection.isRegistered(ObjectName name, Subject delegationSubject)Handles the methodMBeanServerConnection.isRegistered(ObjectName).booleanRMIConnectionImpl_Stub.isRegistered(ObjectName $param_ObjectName_1, Subject $param_Subject_2)booleanRMIConnectionImpl.isRegistered(ObjectName name, Subject delegationSubject)protected RMIConnectionRMIIIOPServerImpl.makeClient(String connectionId, Subject subject)Deprecated.protected RMIConnectionRMIJRMPServerImpl.makeClient(String connectionId, Subject subject)Creates a new client connection as an RMI object exported through JRMP.protected abstract RMIConnectionRMIServerImpl.makeClient(String connectionId, Subject subject)Creates a new client connection.RMIConnection.queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)Handles the methodMBeanServerConnection.queryMBeans(ObjectName, QueryExp).RMIConnectionImpl_Stub.queryMBeans(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)RMIConnectionImpl.queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)RMIConnection.queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)Handles the methodMBeanServerConnection.queryNames(ObjectName, QueryExp).RMIConnectionImpl_Stub.queryNames(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)RMIConnectionImpl.queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)voidRMIConnection.removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)voidRMIConnection.removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)Handles the methodMBeanServerConnection.removeNotificationListener(ObjectName, ObjectName).voidRMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, MarshalledObject $param_MarshalledObject_3, MarshalledObject $param_MarshalledObject_4, Subject $param_Subject_5)voidRMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1, ObjectName $param_ObjectName_2, Subject $param_Subject_3)voidRMIConnectionImpl.removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)voidRMIConnectionImpl.removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)voidRMIConnection.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)voidRMIConnectionImpl_Stub.removeNotificationListeners(ObjectName $param_ObjectName_1, Integer[] $param_arrayOf_Integer_2, Subject $param_Subject_3)voidRMIConnectionImpl.removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)voidRMIConnection.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)Handles the methodMBeanServerConnection.setAttribute(ObjectName, Attribute).voidRMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)voidRMIConnectionImpl.setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)RMIConnection.setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)Handles the methodMBeanServerConnection.setAttributes(ObjectName, AttributeList).RMIConnectionImpl_Stub.setAttributes(ObjectName $param_ObjectName_1, MarshalledObject $param_MarshalledObject_2, Subject $param_Subject_3)RMIConnectionImpl.setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)voidRMIConnection.unregisterMBean(ObjectName name, Subject delegationSubject)Handles the methodMBeanServerConnection.unregisterMBean(ObjectName).voidRMIConnectionImpl_Stub.unregisterMBean(ObjectName $param_ObjectName_1, Subject $param_Subject_2)voidRMIConnectionImpl.unregisterMBean(ObjectName name, Subject delegationSubject)Constructors in javax.management.remote.rmi with parameters of type SubjectModifierConstructorDescriptionRMIConnectionImpl(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String,?> env)Constructs a newRMIConnection.
- 
Uses of Subject in javax.security.authMethods in javax.security.auth that return SubjectModifier and TypeMethodDescriptionstatic SubjectSubject.getSubject(AccessControlContext acc)Get theSubjectassociated with the providedAccessControlContext.SubjectDomainCombiner.getSubject()Get theSubjectassociated with thisSubjectDomainCombiner.Methods in javax.security.auth with parameters of type SubjectModifier and TypeMethodDescriptionstatic <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 SubjectModifierConstructorDescriptionSubjectDomainCombiner(Subject subject)Associate the providedSubjectwith thisSubjectDomainCombiner.
- 
Uses of Subject in javax.security.auth.loginMethods in javax.security.auth.login that return SubjectConstructors in javax.security.auth.login with parameters of type SubjectModifierConstructorDescriptionLoginContext(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.spiMethods in javax.security.auth.spi with parameters of type SubjectModifier and TypeMethodDescriptionvoidLoginModule.initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize this LoginModule.