Uses of Class
javax.security.auth.Subject
-
Packages that use Subject 软件包 描述 com.sun.security.auth 提供Principal
的实现。com.sun.security.auth.module 提供LoginModule
的实现。com.sun.security.jgss 该包定义了GSS-API的JDK扩展的类和接口。java.security 提供安全框架的类和接口。javax.management.remote 用于远程访问JMX MBean服务器的接口。javax.management.remote.rmi RMI连接器是JMX Remote API的连接器,它使用RMI将客户端请求传输到远程MBean服务器。javax.security.auth 该包提供了身份验证和授权的框架。javax.security.auth.login 该软件包提供可插入的身份验证框架。javax.security.auth.spi 该软件包提供了用于实现可插拔认证模块的接口。 -
-
Uses of Subject in com.sun.security.auth
Methods in com.sun.security.auth with parameters of type Subject 变量和类型 方法 描述 boolean
PrincipalComparator. implies(Subject subject)
检查此对象是否隐含指定的Subject
。 -
Uses of Subject in com.sun.security.auth.module
Methods in com.sun.security.auth.module with parameters of type Subject 变量和类型 方法 描述 void
JndiLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化这个LoginModule
。void
KeyStoreLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化此LoginModule
。void
Krb5LoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化此LoginModule
。void
LdapLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化此LoginModule
。void
NTLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化此LoginModule
。void
UnixLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化此LoginModule
。 -
Uses of Subject in com.sun.security.jgss
Methods in com.sun.security.jgss that return Subject 变量和类型 方法 描述 static Subject
GSSUtil. createSubject(GSSName principals, GSSCredential credentials)
使用此方法将GSSName和GSSCredential转换为Subject。 -
Uses of Subject in java.security
Methods in java.security with parameters of type Subject 变量和类型 方法 描述 default boolean
Principal. implies(Subject subject)
如果此主体隐含指定的主题,则返回true。abstract void
AuthProvider. login(Subject subject, CallbackHandler handler)
登录此提供商。 -
Uses of Subject in javax.management.remote
Methods in javax.management.remote that return Subject 变量和类型 方法 描述 Subject
JMXAuthenticator. authenticate(Object credentials)
使用给定的客户端凭据对MBeanServerConnection
客户端进行身份验证。Methods in javax.management.remote with parameters of type Subject 变量和类型 方法 描述 MBeanServerConnection
JMXConnector. getMBeanServerConnection(Subject delegationSubject)
返回表示远程MBean服务器的MBeanServerConnection
对象,在该服务器上代表提供的委派主题执行操作。 -
Uses of Subject in javax.management.remote.rmi
Methods in javax.management.remote.rmi with parameters of type Subject 变量和类型 方法 描述 void
RMIConnection. addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)
Integer[]
RMIConnection. addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)
ObjectInstance
RMIConnection. createMBean(String className, ObjectName name, Subject delegationSubject)
Object
RMIConnection. getAttribute(ObjectName name, String attribute, Subject delegationSubject)
AttributeList
RMIConnection. getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)
String
RMIConnection. getDefaultDomain(Subject delegationSubject)
String[]
RMIConnection. getDomains(Subject delegationSubject)
Integer
RMIConnection. getMBeanCount(Subject delegationSubject)
MBeanInfo
RMIConnection. getMBeanInfo(ObjectName name, Subject delegationSubject)
ObjectInstance
RMIConnection. getObjectInstance(ObjectName name, Subject delegationSubject)
Object
RMIConnection. invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)
boolean
RMIConnection. isInstanceOf(ObjectName name, String className, Subject delegationSubject)
boolean
RMIConnection. isRegistered(ObjectName name, Subject delegationSubject)
protected RMIConnection
RMIJRMPServerImpl. makeClient(String connectionId, Subject subject)
创建新的客户端连接作为通过JRMP导出的RMI对象。protected abstract RMIConnection
RMIServerImpl. makeClient(String connectionId, Subject subject)
创建新的客户端连接。Set<ObjectInstance>
RMIConnection. queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject)
Set<ObjectName>
RMIConnection. queryNames(ObjectName name, MarshalledObject query, Subject delegationSubject)
void
RMIConnection. removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)
void
RMIConnection. removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)
void
RMIConnection. removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)
void
RMIConnection. setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)
AttributeList
RMIConnection. setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)
void
RMIConnection. unregisterMBean(ObjectName name, Subject delegationSubject)
Constructors in javax.management.remote.rmi with parameters of type Subject 构造器 描述 RMIConnectionImpl(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String,?> env)
构造一个新的RMIConnection
。 -
Uses of Subject in javax.security.auth
Methods in javax.security.auth that return Subject 变量和类型 方法 描述 static Subject
Subject. getSubject(AccessControlContext acc)
得到Subject
与所提供的相关AccessControlContext
。Subject
SubjectDomainCombiner. getSubject()
获取与Subject
相关的SubjectDomainCombiner
。Methods in javax.security.auth with parameters of type Subject 变量和类型 方法 描述 static <T> T
Subject. doAs(Subject subject, PrivilegedAction<T> action)
作为特定的Subject
执行工作。static <T> T
Subject. doAs(Subject subject, PrivilegedExceptionAction<T> action)
作为特定的Subject
执行工作。static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。Constructors in javax.security.auth with parameters of type Subject 构造器 描述 SubjectDomainCombiner(Subject subject)
将提供的Subject
与此SubjectDomainCombiner
。 -
Uses of Subject in javax.security.auth.login
Methods in javax.security.auth.login that return Subject 变量和类型 方法 描述 Subject
LoginContext. getSubject()
返回经过身份验证的主题。Constructors in javax.security.auth.login with parameters of type Subject 构造器 描述 LoginContext(String name, Subject subject)
实例化一个新LoginContext
的名称和一个对象Subject
对象。LoginContext(String name, Subject subject, CallbackHandler callbackHandler)
实例化一个新的LoginContext
对象有一个名字,一个Subject
要进行身份验证,并且CallbackHandler
对象。LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)
实例化一个新的LoginContext
对象有一个名字,一个Subject
要进行身份验证,一个CallbackHandler
对象,登录Configuration
。 -
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<String,?> sharedState, Map<String,?> options)
初始化此LoginModule。
-