クラスjavax.security.auth.Subject
の使用
Subjectを使用するパッケージ
パッケージ
説明
Principalの実装を提供します。LoginModuleの実装を提供します。このパッケージは、GSS-APIへのJDK拡張のクラスとインタフェースを定義します。
セキュリティ・フレームワークのクラスとインタフェースを提供します。
JMX MBeanサーバーにリモート・アクセスするためのインタフェースです。
RMIコネクタは、RMIを使ってクライアント要求をリモートMBeanサーバーへ転送する、JMXリモートAPI用のコネクタです。
このパッケージは、認証と承認に関するフレームワークを提供します。
このパッケージは、プラグイン可能な認証フレームワークを提供します。
このパッケージは、プラグイン可能な認証モジュールの実装に使用されるインタフェースを提供します。
-
com.sun.security.authでのSubjectの使用
型件名のパラメータを持つcom.sun.security.authのメソッド -
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 boolean指定されたサブジェクトがこのPrincipalによって暗黙的に指定されている場合、trueを返します。abstract voidAuthProvider.login(Subject subject, CallbackHandler handler) このプロバイダにログインします。 -
javax.management.remoteでのSubjectの使用
Subjectを返すjavax.management.remote内のメソッド修飾子と型メソッド説明JMXAuthenticator.authenticate(Object credentials) 指定されたクライアント証明書を使って、MBeanServerConnectionクライアントを認証します。Subject型のパラメータを持つjavax.management.remote内のメソッド修飾子と型メソッド説明JMXConnector.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) 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) RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Subject delegationSubject) RMIConnection.createMBean(String className, ObjectName name, Subject delegationSubject) 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) 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) 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) MBeanServerConnection.getDefaultDomain()メソッドを処理します。RMIConnectionImpl_Stub.getDefaultDomain(Subject $param_Subject_1) RMIConnectionImpl.getDefaultDomain(Subject delegationSubject) String[]RMIConnection.getDomains(Subject delegationSubject) MBeanServerConnection.getDomains()メソッドを処理します。String[]RMIConnectionImpl_Stub.getDomains(Subject $param_Subject_1) String[]RMIConnectionImpl.getDomains(Subject delegationSubject) RMIConnection.getMBeanCount(Subject delegationSubject) MBeanServerConnection.getMBeanCount()メソッドを処理します。RMIConnectionImpl_Stub.getMBeanCount(Subject $param_Subject_1) RMIConnectionImpl.getMBeanCount(Subject delegationSubject) RMIConnection.getMBeanInfo(ObjectName name, Subject delegationSubject) 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) 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) 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) 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) booleanRMIConnectionImpl_Stub.isRegistered(ObjectName $param_ObjectName_1, Subject $param_Subject_2) booleanRMIConnectionImpl.isRegistered(ObjectName name, Subject delegationSubject) protected RMIConnectionRMIIIOPServerImpl.makeClient(String connectionId, Subject subject) 非推奨。protected RMIConnectionRMIJRMPServerImpl.makeClient(String connectionId, Subject subject) JRMPからエクスポートされたRMIオブジェクトとして、新しいクライアント接続を作成します。protected abstract RMIConnectionRMIServerImpl.makeClient(String connectionId, Subject subject) 新しいクライアント接続を作成します。RMIConnection.queryMBeans(ObjectName name, MarshalledObject query, Subject delegationSubject) 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) 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) 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) 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) 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) voidRMIConnectionImpl_Stub.unregisterMBean(ObjectName $param_ObjectName_1, Subject $param_Subject_2) voidRMIConnectionImpl.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.current()現在の件名を返します。static SubjectSubject.getSubject(AccessControlContext acc) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。SubjectDomainCombiner.getSubject()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このSubjectDomainCombinerに関連付けられたSubjectを取得します。Subject型のパラメータを持つjavax.security.auth内のメソッド修飾子と型メソッド説明static <T> T現在のサブジェクトとしてsubjectを指定してCallableを実行します。static <T> TSubject.doAs(Subject subject, PrivilegedAction<T> action) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このメソッドはAccessControlContextに依存し、「セキュリティ・マネージャ」とともに非推奨となり、今後のリリースで削除される可能性があります。static <T> TSubject.doAs(Subject subject, PrivilegedExceptionAction<T> action) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このメソッドはAccessControlContextに依存し、「セキュリティ・マネージャ」とともに非推奨となり、今後のリリースで削除される可能性があります。static <T> TSubject.doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このメソッドは、非推奨であり、今後のリリースで削除される可能性があります。「セキュリティ・マネージャ」と組み合わせて使用すると便利です。static <T> TSubject.doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このメソッドは、非推奨であり、今後のリリースで削除される可能性があります。「セキュリティ・マネージャ」と組み合わせて使用すると便利です。Subject型のパラメータを持つjavax.security.auth内のコンストラクタ修飾子コンストラクタ説明SubjectDomainCombiner(Subject subject) 削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。このSubjectDomainCombinerを、指定したSubjectと関連付けます。 -
javax.security.auth.loginでのSubjectの使用
Subjectを返すjavax.security.auth.login内のメソッド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を初期化します。
AccessControlContextに依存し、「セキュリティ・マネージャ」とともに非推奨となり、今後のリリースで削除される可能性があります。