Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Principal.implies(Subject subject)
Returns true if the specified subject is implied by this principal.
|
abstract void |
AuthProvider.login(Subject subject,
CallbackHandler handler)
Log in to this provider.
|
Modifier and Type | Method and Description |
---|---|
Subject |
JMXAuthenticator.authenticate(Object credentials)
Authenticates the
MBeanServerConnection client
with the given client credentials. |
Modifier and Type | Method and Description |
---|---|
MBeanServerConnection |
JMXConnector.getMBeanServerConnection(Subject delegationSubject)
Returns an
MBeanServerConnection object representing
a remote MBean server on which operations are performed on behalf of
the supplied delegation subject. |
Modifier and Type | Method and Description |
---|---|
void |
RMIConnectionImpl.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.addNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5) |
void |
RMIConnection.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
Integer[] |
RMIConnectionImpl.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[] |
RMIConnection.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
|
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, Object[], String[]) . |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
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) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
Subject $param_Subject_4) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, ObjectName) . |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName) . |
Object |
RMIConnectionImpl.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject) |
Object |
RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3) |
Object |
RMIConnection.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getAttribute(ObjectName,
String) . |
AttributeList |
RMIConnectionImpl.getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject) |
AttributeList |
RMIConnectionImpl_Stub.getAttributes(ObjectName $param_ObjectName_1,
String[] $param_arrayOf_String_2,
Subject $param_Subject_3) |
AttributeList |
RMIConnection.getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getAttributes(ObjectName,
String[]) . |
String |
RMIConnectionImpl.getDefaultDomain(Subject delegationSubject) |
String |
RMIConnectionImpl_Stub.getDefaultDomain(Subject $param_Subject_1) |
String |
RMIConnection.getDefaultDomain(Subject delegationSubject)
Handles the method
MBeanServerConnection.getDefaultDomain() . |
String[] |
RMIConnectionImpl.getDomains(Subject delegationSubject) |
String[] |
RMIConnectionImpl_Stub.getDomains(Subject $param_Subject_1) |
String[] |
RMIConnection.getDomains(Subject delegationSubject)
Handles the method
MBeanServerConnection.getDomains() . |
Integer |
RMIConnectionImpl.getMBeanCount(Subject delegationSubject) |
Integer |
RMIConnectionImpl_Stub.getMBeanCount(Subject $param_Subject_1) |
Integer |
RMIConnection.getMBeanCount(Subject delegationSubject)
Handles the method
MBeanServerConnection.getMBeanCount() . |
MBeanInfo |
RMIConnectionImpl.getMBeanInfo(ObjectName name,
Subject delegationSubject) |
MBeanInfo |
RMIConnectionImpl_Stub.getMBeanInfo(ObjectName $param_ObjectName_1,
Subject $param_Subject_2) |
MBeanInfo |
RMIConnection.getMBeanInfo(ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getMBeanInfo(ObjectName) . |
MBeanServerConnection |
RMIConnector.getMBeanServerConnection(Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl.getObjectInstance(ObjectName name,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.getObjectInstance(ObjectName $param_ObjectName_1,
Subject $param_Subject_2) |
ObjectInstance |
RMIConnection.getObjectInstance(ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getObjectInstance(ObjectName) . |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.invoke(ObjectName,
String, Object[], String[]) . |
boolean |
RMIConnectionImpl.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject) |
boolean |
RMIConnectionImpl_Stub.isInstanceOf(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3) |
boolean |
RMIConnection.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
Handles the method
MBeanServerConnection.isInstanceOf(ObjectName,
String) . |
boolean |
RMIConnectionImpl.isRegistered(ObjectName name,
Subject delegationSubject) |
boolean |
RMIConnectionImpl_Stub.isRegistered(ObjectName $param_ObjectName_1,
Subject $param_Subject_2) |
boolean |
RMIConnection.isRegistered(ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.isRegistered(ObjectName) . |
protected abstract RMIConnection |
RMIServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection.
|
protected RMIConnection |
RMIIIOPServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection as an RMI object exported
through IIOP.
|
protected RMIConnection |
RMIJRMPServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection as an RMI object exported
through JRMP.
|
Set<ObjectInstance> |
RMIConnectionImpl.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
Set |
RMIConnectionImpl_Stub.queryMBeans(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3) |
Set<ObjectInstance> |
RMIConnection.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
Handles the method
MBeanServerConnection.queryMBeans(ObjectName,
QueryExp) . |
Set<ObjectName> |
RMIConnectionImpl.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
Set |
RMIConnectionImpl_Stub.queryNames(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3) |
Set<ObjectName> |
RMIConnection.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
Handles the method
MBeanServerConnection.queryNames(ObjectName,
QueryExp) . |
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
MarshalledObject $param_MarshalledObject_4,
Subject $param_Subject_5) |
void |
RMIConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.removeNotificationListener(ObjectName $param_ObjectName_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3) |
void |
RMIConnection.removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject)
Handles the method
MBeanServerConnection.removeNotificationListener(ObjectName,
ObjectName) . |
void |
RMIConnectionImpl.removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.removeNotificationListeners(ObjectName $param_ObjectName_1,
Integer[] $param_arrayOf_Integer_2,
Subject $param_Subject_3) |
void |
RMIConnection.removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject)
|
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3) |
void |
RMIConnection.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
Handles the method
MBeanServerConnection.setAttribute(ObjectName,
Attribute) . |
AttributeList |
RMIConnectionImpl.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject) |
AttributeList |
RMIConnectionImpl_Stub.setAttributes(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3) |
AttributeList |
RMIConnection.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject)
Handles the method
MBeanServerConnection.setAttributes(ObjectName,
AttributeList) . |
void |
RMIConnectionImpl.unregisterMBean(ObjectName name,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.unregisterMBean(ObjectName $param_ObjectName_1,
Subject $param_Subject_2) |
void |
RMIConnection.unregisterMBean(ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.unregisterMBean(ObjectName) . |
Constructor and Description |
---|
RMIConnectionImpl(RMIServerImpl rmiServer,
String connectionId,
ClassLoader defaultClassLoader,
Subject subject,
Map<String,?> env)
Constructs a new
RMIConnection . |
Modifier and Type | Method and Description |
---|---|
Subject |
SubjectDomainCombiner.getSubject()
Get the
Subject associated with this
SubjectDomainCombiner . |
static Subject |
Subject.getSubject(AccessControlContext acc)
Get the
Subject associated with the provided
AccessControlContext . |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Subject.doAs(Subject subject,
PrivilegedAction<T> action)
Perform work as a particular
Subject . |
static <T> T |
Subject.doAs(Subject subject,
PrivilegedExceptionAction<T> action)
Perform work as a particular
Subject . |
static <T> T |
Subject.doAsPrivileged(Subject subject,
PrivilegedAction<T> action,
AccessControlContext acc)
Perform privileged work as a particular
Subject . |
static <T> T |
Subject.doAsPrivileged(Subject subject,
PrivilegedExceptionAction<T> action,
AccessControlContext acc)
Perform privileged work as a particular
Subject . |
abstract PermissionCollection |
Policy.getPermissions(Subject subject,
CodeSource cs)
Deprecated.
Retrieve the Permissions granted to the Principals associated with
the specified
CodeSource . |
Constructor and Description |
---|
SubjectDomainCombiner(Subject subject)
Associate the provided
Subject with this
SubjectDomainCombiner . |
Modifier and Type | Method and Description |
---|---|
Subject |
LoginContext.getSubject()
Return the authenticated Subject.
|
Constructor and Description |
---|
LoginContext(String name,
Subject subject)
Instantiate a new
LoginContext object with a name
and a Subject object. |
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler)
Instantiate a new
LoginContext object with a name,
a Subject to be authenticated, and a
CallbackHandler object. |
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler,
Configuration config)
Instantiate a new
LoginContext object with a name,
a Subject to be authenticated,
a CallbackHandler object, and a login
Configuration . |
Modifier and Type | Method and Description |
---|---|
void |
LoginModule.initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Initialize this LoginModule.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.