Class TeamCityMethodSecurityInterceptor
- java.lang.Object
-
- org.springframework.security.access.intercept.AbstractSecurityInterceptor
-
- org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
-
- jetbrains.buildServer.serverSide.impl.auth.TeamCityMethodSecurityInterceptor
-
- All Implemented Interfaces:
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
public class TeamCityMethodSecurityInterceptor extends org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor- Author:
- Pavel.Sher Date: 08.08.2007
-
-
Constructor Summary
Constructors Constructor Description TeamCityMethodSecurityInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.access.intercept.InterceptorStatusTokenbeforeInvocation(Object object)Objectinvoke(org.aopalliance.intercept.MethodInvocation mi)This method should be used to enforce security on aMethodInvocation.voidsetAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)-
Methods inherited from class org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
getSecureObjectClass, getSecurityMetadataSource, obtainSecurityMetadataSource, setSecurityMetadataSource
-
Methods inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptor
afterInvocation, afterPropertiesSet, finallyInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setPublishAuthorizationSuccess, setRejectPublicInvocations, setRunAsManager, setSecurityContextHolderStrategy, setValidateConfigAttributes
-
-
-
-
Method Detail
-
setAccessDecisionManager
public void setAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
- Overrides:
setAccessDecisionManagerin classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation mi) throws Throwable
This method should be used to enforce security on aMethodInvocation.- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Overrides:
invokein classorg.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor- Parameters:
mi- The method being invoked which requires a security decision- Returns:
- The returned value from the method invocation
- Throws:
Throwable- if any error occurs
-
beforeInvocation
protected org.springframework.security.access.intercept.InterceptorStatusToken beforeInvocation(Object object)
- Overrides:
beforeInvocationin classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
-