|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EJBSecurityPolicy
Represents the security policy associated with a method of an Enterprise Bean. The effective policy information is obtained by the EJB container from deployment descriptor data and/or security annotations.
Method Summary | |
---|---|
java.lang.String[] |
getRolesAllowed()
Return a String array containing all security roles that are allowed to execute this method. |
java.lang.String |
getRunAsSpecifiedIdentity()
Return a String indicating the run-as identity for the execution of this method. |
boolean |
isDenyAll()
Return boolean indicating that no security roles are allowed to execute this method. |
boolean |
isPermitAll()
Return boolean indicating that all security roles are allowed to execute this method. |
boolean |
isRunAsCallerIdentity()
Return a boolean indicating if the identity for the execution of this method is to come from the caller. |
void |
setDenyAll(boolean isDenyAll)
Set boolean indicating that no security roles are allowed to execute this method. |
void |
setPermitAll(boolean isPermitAll)
Set boolean indicating that all security roles are allowed to execute this method. |
void |
setRolesAllowed(java.lang.String[] rolesAllowed)
Set a String array containing all security roles that are allowed to execute this method. |
void |
setRunAsCallerIdentity(boolean isRunAsCallerIdentity)
Set a boolean indicating if the identity for the execution of this method is to come from the caller. |
void |
setRunAsSpecifiedIdentity(java.lang.String runAsSpecifiedIdentity)
Set a String indicating the run-as identity for the execution of this method. |
Method Detail |
---|
java.lang.String[] getRolesAllowed()
java.lang.String getRunAsSpecifiedIdentity()
boolean isDenyAll()
boolean isPermitAll()
boolean isRunAsCallerIdentity()
void setDenyAll(boolean isDenyAll)
isPermitAll
- void setPermitAll(boolean isPermitAll)
isDenyAll
- boolean indicating that all security roles are allowed
to execute this method.void setRolesAllowed(java.lang.String[] rolesAllowed)
rolesAllowed
- void setRunAsCallerIdentity(boolean isRunAsCallerIdentity)
isRunAsCallerIdentity
- void setRunAsSpecifiedIdentity(java.lang.String runAsSpecifiedIdentity)
runAsSpecifiedIdentity
-
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |