public class MethodConfig extends Object
The method-permission element specifies that one or more security roles are allowed to invoke one or more enterprise bean methods. The method-permission element consists of an optional description, a list of security role names, or an indicator to specify that the methods are not to be checked for authorization, and a list of method elements. The security roles used in the method-permission element must be defined in the security-role element of the deployment descriptor, and the methods must be methods defined in the enterprise bean�s component and/or home interfaces.
Constructor and Description |
---|
MethodConfig() |
Modifier and Type | Method and Description |
---|---|
static String |
getSignature(Class<?>[] source) |
static String |
getSignature(javassist.CtClass[] source) |
void |
importXml(Element element) |
boolean |
patternMatches(javassist.CtMethod method) |
boolean |
patternMatches(Method method) |
static String |
toGenericString(Method method) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.