クラス MethodSecurityInterceptor
java.lang.ObjectSE
org.springframework.security.access.intercept.AbstractSecurityInterceptor
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
- 実装済みのインターフェース一覧:
org.aopalliance.aop.Advice、org.aopalliance.intercept.Interceptor、org.aopalliance.intercept.MethodInterceptor、org.springframework.beans.factory.Aware、org.springframework.beans.factory.InitializingBean、org.springframework.context.ApplicationEventPublisherAware、org.springframework.context.MessageSourceAware
- 既知の直属サブクラス
AspectJMethodSecurityInterceptor
@NullUnmarked
@DeprecatedSE
public class MethodSecurityInterceptor
extends AbstractSecurityInterceptor
implements org.aopalliance.intercept.MethodInterceptor
使用すべきではありません。
AOP アライアンスベースのメソッド呼び出しのセキュリティインターセプトを提供します。
このセキュリティインターセプターが必要とする SecurityMetadataSource は、型 MethodSecurityMetadataSource です。どちらも Java Method で動作するため、これは AspectJ ベースのセキュリティインターセプター(AspectJSecurityInterceptor)と共有されます。
ワークフローの詳細については、AbstractSecurityInterceptor を参照してください。
フィールド概要
クラス org.springframework.security.access.intercept.AbstractSecurityInterceptor から継承されたフィールド
logger, messagesコンストラクター概要
コンストラクター方法の概要
クラス org.springframework.security.access.intercept.AbstractSecurityInterceptor から継承されたメソッド
afterInvocation, afterPropertiesSet, beforeInvocation, finallyInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setPublishAuthorizationSuccess, setRejectPublicInvocations, setRunAsManager, setSecurityContextHolderStrategy, setValidateConfigAttributes
コンストラクターの詳細
MethodSecurityInterceptor
public MethodSecurityInterceptor()使用すべきではありません。
メソッドの詳細
getSecureObjectClass
使用すべきではありません。クラスからコピーされた説明:AbstractSecurityInterceptorサブクラスが処理のために抽象親に提示するセキュアオブジェクトの型を示します。これは、AbstractSecurityInterceptorに接続されたコラボレーターがすべて、指定されたセキュアオブジェクトクラスをサポートするようにするために使用されます。- 次で指定:
- クラス
AbstractSecurityInterceptorのgetSecureObjectClass - 戻り値:
- サブクラスがサービスを提供する安全なオブジェクトの型
invoke
使用すべきではありません。このメソッドは、MethodInvocationのセキュリティを強化するために使用する必要があります。- 次で指定:
- インターフェース
org.aopalliance.intercept.MethodInterceptorのinvoke - パラメーター:
mi- セキュリティの決定を必要とする、呼び出されているメソッド- 戻り値:
- メソッド呼び出しからの戻り値(
AfterInvocationManagerによって変更される可能性があります)。 - 例外:
ThrowableSE- エラーが発生した場合
getSecurityMetadataSource
使用すべきではありません。obtainSecurityMetadataSource
使用すべきではありません。setSecurityMetadataSource
使用すべきではありません。
AuthorizationManagerBeforeMethodInterceptorとAuthorizationManagerAfterMethodInterceptorを使用してください