com.bstek.dorado.console.security
public class ViewServiceSecurityInterceptor extends PatternMethodInterceptor
Constructor and Description |
---|
ViewServiceSecurityInterceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(java.lang.String action,
java.lang.String serviceName) |
java.lang.String |
getServiceNamePattern() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
static boolean |
match(java.lang.String pattern,
java.lang.String text)
判断给定的字符串是否匹配通配表达式。
|
void |
setServiceNamePattern(java.lang.String serviceNamePattern) |
getExcludePattern, getOrder, getPattern, setExcludePattern, setOrder, setPattern
public java.lang.String getServiceNamePattern()
public void setServiceNamePattern(java.lang.String serviceNamePattern)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable
java.lang.Throwable
public static boolean match(java.lang.String pattern, java.lang.String text)
pattern
- 通配表达式text
- 要判断的字符串public boolean check(java.lang.String action, java.lang.String serviceName)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.