|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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()
|
EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
EList |
getMethodElements()
|
java.util.List |
getMethodElements(EnterpriseBean anEJB)
Return a List of MethodElements that point to |
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 |
| Method Detail |
public java.util.List getMethodElements(EnterpriseBean anEJB)
public SecurityRole getSecurityRole(java.lang.String aRoleName)
public boolean hasSecurityRole(SecurityRole aSecurityRole)
public boolean hasSecurityRole(java.lang.String aRoleName)
public boolean isEquivalent(MethodPermission anotherMethodPermission)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - The new value of the Description attributepublic boolean isUnchecked()
public void setUnchecked(boolean value)
value - The new value of the Unchecked attributepublic void unsetUnchecked()
Unchecked' attribute.
isSetUnchecked(),
isUnchecked(),
setUnchecked(boolean)public boolean isSetUnchecked()
Unchecked' attribute is set.
unsetUnchecked(),
isUnchecked(),
setUnchecked(boolean)public AssemblyDescriptor getAssemblyDescriptor()
public void setAssemblyDescriptor(AssemblyDescriptor value)
public EList getRoles()
public EList getMethodElements()
public 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 | |||||||||||