public class MethodSecurityBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
MethodSecurityBean()
Default constructor.
|
MethodSecurityBean(MethodSecurityInterceptor methodSecurityInterceptor,
java.lang.Class service,
java.lang.String methodName)
Helper constructor to supply necessary values
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.util.Collection |
applyPermissions(java.util.Collection toCheck,
net.sf.acegisecurity.Authentication authentication,
int targetResultCount) |
java.util.Collection |
applyPermissions(java.util.Collection toCheck,
net.sf.acegisecurity.Authentication authentication,
int targetResultCount,
long cutOffAfterTimeMs,
int cutOffAfterCount) |
void |
setMethodName(java.lang.String methodName) |
void |
setMethodSecurityInterceptor(org.aopalliance.intercept.MethodInterceptor methodInterceptor) |
void |
setService(java.lang.Class service) |
java.lang.String |
toString() |
public MethodSecurityBean()
public MethodSecurityBean(MethodSecurityInterceptor methodSecurityInterceptor, java.lang.Class service, java.lang.String methodName)
public void setMethodSecurityInterceptor(org.aopalliance.intercept.MethodInterceptor methodInterceptor)
methodInterceptor - an method interceptor, ideally a MethodSecurityInterceptorpublic void setService(java.lang.Class service)
public void setMethodName(java.lang.String methodName)
public java.lang.String toString()
toString in class java.lang.Objectpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic java.util.Collection applyPermissions(java.util.Collection toCheck,
net.sf.acegisecurity.Authentication authentication,
int targetResultCount)
public java.util.Collection applyPermissions(java.util.Collection toCheck,
net.sf.acegisecurity.Authentication authentication,
int targetResultCount,
long cutOffAfterTimeMs,
int cutOffAfterCount)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.