クラス AspectJMethodSecurityInterceptor
java.lang.ObjectSE
org.springframework.security.access.intercept.AbstractSecurityInterceptor
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
org.springframework.security.access.intercept.aspectj.AspectJMethodSecurityInterceptor
- 実装されているすべてのインターフェース:
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
使用すべきではありません。
このクラスはパブリック API から削除されます。Spring Security のメソッドセキュリティサポートである `spring-security-aspects` を使用するか、Spring AOP アノテーションを使用する独自のクラスを作成してください。
JoinPoint を MethodInvocation アダプターにラップして、MethodInvocation のみをサポートするセキュリティインフラストラクチャクラスと互換性を持たせる AspectJ JoinPoint セキュリティインターセプター。invoke メソッドの 1 つは、あなたのアスペクトの around() アドバイスから呼び出す必要があります。または、アスペクトモジュールから事前定義されたアスペクトの 1 つを使用することもできます。
- 導入:
- 3.0.3
フィールドのサマリー
クラス org.springframework.security.access.intercept.AbstractSecurityInterceptor から継承されたフィールド
logger, messagesコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明invoke(org.aspectj.lang.JoinPoint jp) 使用すべきではありません。@Aspect 表記のユーザーに適した方法。invoke(org.aspectj.lang.JoinPoint jp, AspectJCallback advisorProceed) 使用すべきではありません。従来の AspectJ コードのアスペクトを持つユーザーに適した方法。クラス org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor から継承されたメソッド
getSecureObjectClass, getSecurityMetadataSource, invoke, obtainSecurityMetadataSource, setSecurityMetadataSourceクラス 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
コンストラクターの詳細
AspectJMethodSecurityInterceptor
public AspectJMethodSecurityInterceptor()使用すべきではありません。
メソッドの詳細
invoke
使用すべきではありません。@Aspect 表記のユーザーに適した方法。- パラメーター:
jp- セキュリティ上の決定を必要とする AspectJ ジョイントポイントが呼び出されています- 戻り値:
- メソッド呼び出しからの戻り値
- 例外:
ThrowableSE- 呼び出しが 1 つをスローした場合
invoke
使用すべきではありません。従来の AspectJ コードのアスペクトを持つユーザーに適した方法。- パラメーター:
jp- セキュリティ上の決定を必要とする AspectJ ジョイントポイントが呼び出されていますadvisorProceed- 単純なreturn proceed();ステートメントを含むAspectJCallbackを実装するアドバイス定義の匿名クラス- 戻り値:
- メソッド呼び出しからの戻り値