Uses of Class javax.security.auth.Subject

Uses in package javax.security.auth

Constructors with parameter type javax.security.auth.Subject

Methods with parameter type javax.security.auth.Subject

Object
Run a method as another subject.
Object
Run a method as another subject.
Object
Run a method as another subject.
Object
Run a method as another subject.
PermissionCollection

Methods with return type javax.security.auth.Subject

Subject
Subject
Returns the subject associated with the given AccessControlContext.

All this method does is retrieve the Subject object from the supplied context's DomainCombiner, if any, and if it is an instance of a SubjectDomainCombiner.

Uses in package javax.security.auth.login

Constructors with parameter type javax.security.auth.Subject

Methods with return type javax.security.auth.Subject

Subject
Returns the authenticated subject, or the parameter passed to one of the constructors.

Uses in package javax.management.remote.rmi

Methods with parameter type javax.security.auth.Subject

ObjectInstance
RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)
Handles MBeanServerConnection.createMBean(String, ObjectName, ObjectName) by instantiating a new instance of the specified management bean using the default constructor and registering it with the server under the supplied name.
ObjectInstance
RMIConnection.createMBean(String className, ObjectName name, Subject delegationSubject)
Handles MBeanServerConnection.createMBean(String, ObjectName) by instantiating a new instance of the specified management bean using the default constructor and registering it with the server under the supplied name.
Object
RMIConnection.getAttribute(ObjectName bean, String name, Subject delegationSubject)
Handles MBeanServerConnection.getAttribute(ObjectName, String), returning the value of the supplied attribute from the specified management bean.
AttributeList
RMIConnection.getAttributes(ObjectName bean, String[] names, Subject delegationSubject)
Handles MBeanServerConnection.getAttribute(ObjectName, String), returning the values of the named attributes from the specified management bean.
String
Handles MBeanServerConnection.getDefaultDomain() by returning the default domain this server applies to beans that have no specified domain.
String[]
RMIConnection.getDomains(Subject delegationSubject)
Handles MBeanServerConnection.getDomains() by returning an array containing all the domains used by beans registered with this server.
Integer
RMIConnection.getMBeanCount(Subject delegationSubject)
Handles MBeanServerConnection.getMBeanCount() by returning the number of management beans registered with this server.
MBeanInfo
RMIConnection.getMBeanInfo(ObjectName name, Subject delegationSubject)
Handles MBeanServerConnection.getMBeanInfo(ObjectName) by returning information on the given management bean.
ObjectInstance
Handles MBeanServerConnection.getObjectInstance(ObjectName) by returning the ObjectInstance created for the specified management bean on registration.
boolean
RMIConnection.isInstanceOf(ObjectName name, String className, Subject delegationSubject)
Handles
boolean
RMIConnection.isRegistered(ObjectName name, Subject delegationSubject)
Handles
void
Handles MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName) by removing the specified listener from the list of recipients of notifications from the supplied bean.
void
RMIConnection.removeNotificationListeners(ObjectName name, Integer[] listenerIds, Subject delegationSubject)
Removes one or more NotificationListeners from the specified management bean.
void
RMIConnection.unregisterMBean(ObjectName name, Subject delegationSubject)
Handles MBeanServerConnection.unregisterMBean(ObjectName) by unregistering the specified management bean.

Uses in package javax.security.auth.spi

Methods with parameter type javax.security.auth.Subject

void
LoginModule.initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options)
Initializes this login module.