クラス 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
@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
を使用してください