|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodPermission
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, 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 remote and//or home interfaces.
Method Summary | |
---|---|
AssemblyDescriptor |
getAssemblyDescriptor()
|
java.lang.String |
getDescription()
|
org.eclipse.emf.common.util.EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
org.eclipse.emf.common.util.EList |
getMethodElements()
|
java.util.List |
getMethodElements(EnterpriseBean anEJB)
Return a List of MethodElements that point to |
org.eclipse.emf.common.util.EList |
getRoles()
|
SecurityRole |
getSecurityRole(java.lang.String aRoleName)
Return the SecurityRole named @aRoleName. |
boolean |
hasSecurityRole(SecurityRole aSecurityRole)
Return true if this permission contains @aSecurityRole |
boolean |
hasSecurityRole(java.lang.String aRoleName)
Return true if this permission contains a SecurityRole named @aRoleName. |
boolean |
isEquivalent(MethodPermission anotherMethodPermission)
Return true if this MethodPermission and @anotherMethodPermission have the same roles. |
boolean |
isSetUnchecked()
Returns whether the value of the ' Unchecked ' attribute is set |
boolean |
isUnchecked()
|
void |
setAssemblyDescriptor(AssemblyDescriptor value)
|
void |
setDescription(java.lang.String value)
|
void |
setUnchecked(boolean value)
|
void |
unsetUnchecked()
Unsets the value of the ' Unchecked ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
java.util.List getMethodElements(EnterpriseBean anEJB)
SecurityRole getSecurityRole(java.lang.String aRoleName)
boolean hasSecurityRole(SecurityRole aSecurityRole)
boolean hasSecurityRole(java.lang.String aRoleName)
boolean isEquivalent(MethodPermission anotherMethodPermission)
java.lang.String getDescription()
void setDescription(java.lang.String value)
value
- The new value of the Description attributeboolean isUnchecked()
void setUnchecked(boolean value)
value
- The new value of the Unchecked attributevoid unsetUnchecked()
Unchecked
' attribute.
isSetUnchecked()
,
isUnchecked()
,
setUnchecked(boolean)
boolean isSetUnchecked()
Unchecked
' attribute is set.
unsetUnchecked()
,
isUnchecked()
,
setUnchecked(boolean)
AssemblyDescriptor getAssemblyDescriptor()
void setAssemblyDescriptor(AssemblyDescriptor value)
l
- The new value of the AssemblyDescriptor referenceorg.eclipse.emf.common.util.EList getRoles()
org.eclipse.emf.common.util.EList getMethodElements()
org.eclipse.emf.common.util.EList getDescriptions()
Description
.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getMethodPermission_Descriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |