クラスjavax.security.auth.Subject
の使用
-
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コネクタは、RMIを使ってクライアント要求をリモートMBeanサーバーへ転送する、JMXリモートAPI用のコネクタです。javax.security.auth このパッケージは、認証と承認に関するフレームワークを提供します。javax.security.auth.login このパッケージは、プラグイン可能な認証フレームワークを提供します。javax.security.auth.spi このパッケージは、プラグイン可能な認証モジュールの実装に使用されるインタフェースを提供します。 -
-
com.sun.security.authでの「件名」の使用
型Subjectのパラメータを持つcom.sun.security.authのメソッド 修飾子と型 メソッド 説明 booleanPrincipalComparator. implies(Subject subject)指定したSubjectがこのオブジェクトに含まれているかどうかを確認します。 -
com.sun.security.auth.moduleでの「件名」の使用
型Subjectのパラメータを持つcom.sun.security.auth.moduleのメソッド 修飾子と型 メソッド 説明 voidJndiLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。voidKeyStoreLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。voidKrb5LoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。voidLdapLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。voidNTLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。voidUnixLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。 -
com.sun.security.jgssでの「件名」の使用
Subjectを戻すcom.sun.security.jgssのメソッド 修飾子と型 メソッド 説明 static SubjectGSSUtil. createSubject(GSSName principals, GSSCredential credentials)このメソッドを使用して、GSSNameとGSSCredentialをSubjectに変換します。 -
java.securityでのSubjectの使用
Subject型のパラメータを持つjava.security内のメソッド 修飾子と型 メソッド 説明 default booleanPrincipal. implies(Subject subject)指定されたサブジェクトがこの主体に含まれる場合はtrueを返します。abstract voidAuthProvider. login(Subject subject, CallbackHandler handler)このプロバイダにログインします。 -
javax.management.remoteでのSubjectの使用
Subjectを返すjavax.management.remote内のメソッド 修飾子と型 メソッド 説明 SubjectJMXAuthenticator. authenticate(Object credentials)指定されたクライアント証明書を使って、MBeanServerConnectionクライアントを認証します。Subject型のパラメータを持つjavax.management.remote内のメソッド 修飾子と型 メソッド 説明 MBeanServerConnectionJMXConnector. getMBeanServerConnection(Subject delegationSubject)指定された委譲対象の代わりにオペレーションを実行する、リモートMBeanサーバーを表すMBeanServerConnectionオブジェクトを返します。 -
javax.management.remote.rmiでのSubjectの使用
Subject型のパラメータを持つjavax.management.remote.rmi内のメソッド 修飾子と型 メソッド 説明 voidRMIConnection. addNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)Integer[]RMIConnection. addNotificationListeners(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject)ObjectInstanceRMIConnection. createMBean(String className, ObjectName name, Subject delegationSubject)ObjectRMIConnection. getAttribute(ObjectName name, String attribute, Subject delegationSubject)AttributeListRMIConnection. getAttributes(ObjectName name, String[] attributes, Subject delegationSubject)StringRMIConnection. getDefaultDomain(Subject delegationSubject)MBeanServerConnection.getDefaultDomain()メソッドを処理します。String[]RMIConnection. getDomains(Subject delegationSubject)MBeanServerConnection.getDomains()メソッドを処理します。IntegerRMIConnection. getMBeanCount(Subject delegationSubject)MBeanServerConnection.getMBeanCount()メソッドを処理します。MBeanInfoRMIConnection. getMBeanInfo(ObjectName name, Subject delegationSubject)ObjectInstanceRMIConnection. getObjectInstance(ObjectName name, Subject delegationSubject)ObjectRMIConnection. invoke(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject)booleanRMIConnection. isInstanceOf(ObjectName name, String className, Subject delegationSubject)booleanRMIConnection. isRegistered(ObjectName name, Subject delegationSubject)protected RMIConnectionRMIJRMPServerImpl. makeClient(String connectionId, Subject subject)JRMPからエクスポートされたRMIオブジェクトとして、新しいクライアント接続を作成します。protected abstract RMIConnectionRMIServerImpl. 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)voidRMIConnection. removeNotificationListener(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject)voidRMIConnection. removeNotificationListener(ObjectName name, ObjectName listener, Subject delegationSubject)voidRMIConnection. removeNotificationListeners(ObjectName name, Integer[] listenerIDs, Subject delegationSubject)voidRMIConnection. setAttribute(ObjectName name, MarshalledObject attribute, Subject delegationSubject)AttributeListRMIConnection. setAttributes(ObjectName name, MarshalledObject attributes, Subject delegationSubject)voidRMIConnection. unregisterMBean(ObjectName name, Subject delegationSubject)Subject型のパラメータを持つjavax.management.remote.rmi内のコンストラクタ コンストラクタ 説明 RMIConnectionImpl(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String,?> env)新しいRMIConnectionを構築します。 -
javax.security.authでのSubjectの使用
Subjectを返すjavax.security.auth内のメソッド 修飾子と型 メソッド 説明 static SubjectSubject. getSubject(AccessControlContext acc)指定したAccessControlContextに関連付けられたSubjectを取得します。SubjectSubjectDomainCombiner. getSubject()このSubjectDomainCombinerに関連付けられたSubjectを取得します。Subject型のパラメータを持つjavax.security.auth内のメソッド 修飾子と型 メソッド 説明 static <T> TSubject. doAs(Subject subject, PrivilegedAction<T> action)特定のSubjectとして動作します。static <T> TSubject. doAs(Subject subject, PrivilegedExceptionAction<T> action)特定のSubjectとして動作します。static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc)特定のSubjectとして特権付きで動作します。static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)特定のSubjectとして特権付きで動作します。abstract PermissionCollectionPolicy. getPermissions(Subject subject, CodeSource cs)削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。指定したCodeSourceに関連付けられたPrincipalに付与されたPermissionを取得します。Subject型のパラメータを持つjavax.security.auth内のコンストラクタ コンストラクタ 説明 SubjectDomainCombiner(Subject subject)このSubjectDomainCombinerを、指定したSubjectと関連付けます。 -
javax.security.auth.loginでのSubjectの使用
Subjectを返すjavax.security.auth.login内のメソッド 修飾子と型 メソッド 説明 SubjectLoginContext. getSubject()認証されたSubjectを返します。Subject型のパラメータを持つjavax.security.auth.login内のコンストラクタ コンストラクタ 説明 LoginContext(String name, Subject subject)名前とSubjectオブジェクトを指定して新しいLoginContextオブジェクトをインスタンス化します。LoginContext(String name, Subject subject, CallbackHandler callbackHandler)名前、認証を受けるSubjectオブジェクト、およびCallbackHandlerオブジェクトを指定して、新しいLoginContextオブジェクトをインスタンス化します。LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)名前、認証を受けるSubjectオブジェクト、CallbackHandlerオブジェクト、およびログインConfigurationを指定して、新しいLoginContextオブジェクトをインスタンス化します。 -
javax.security.auth.spiでのSubjectの使用
Subject型のパラメータを持つjavax.security.auth.spi内のメソッド 修飾子と型 メソッド 説明 voidLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)このLoginModuleを初期化します。
-