com.ibm.wsspi.security.policy
Interface EJBSecurityPolicy
- public interface EJBSecurityPolicy
Since:
WAS 7.0
Version:
WAS 7.0
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getRolesAllowed()
Return a String array containing all security roles that are
allowed to execute this method.
|
|
getRunAsSpecifiedIdentity()
Return a String indicating the run-as identity for the execution of this
method.
|
|
isDenyAll()
Return boolean indicating that no security roles are allowed
to execute this method.
|
|
isPermitAll()
Return boolean indicating that all security roles are allowed
to execute this method.
|
|
isRunAsCallerIdentity()
Return a boolean indicating if the identity for the execution of this
method is to come from the caller.
|
|
setDenyAll(boolean isDenyAll)
Set boolean indicating that no security roles are allowed
to execute this method.
|
|
setPermitAll(boolean isPermitAll)
Set boolean indicating that all security roles are allowed
to execute this method.
|
|
setRolesAllowed(java.lang.String[] rolesAllowed)
Set a String array containing all security roles that are
allowed to execute this method.
|
|
setRunAsCallerIdentity(boolean isRunAsCallerIdentity)
Set a boolean indicating if the identity for the execution of this
method is to come from the caller.
|
|
setRunAsSpecifiedIdentity(java.lang.String runAsSpecifiedIdentity)
Set a String indicating the run-as identity for the execution of this
method.
|
Method Detail
getRolesAllowed
- java.lang.String[] getRolesAllowed( )
Return a String array containing all security roles that are
allowed to execute this method.
Returns:
String array containing all security roles that are
allowed to execute this method.
getRunAsSpecifiedIdentity
- java.lang.String getRunAsSpecifiedIdentity( )
Return a String indicating the run-as identity for the execution of this
method.
Returns:
String indicating the run-as identity for the execution of this
method.
isDenyAll
- boolean isDenyAll()
Return boolean indicating that no security roles are allowed
to execute this method.
Returns:
boolean indicating if all roles are not to be permitted to execute
this method.
isPermitAll
- boolean isPermitAll()
Return boolean indicating that all security roles are allowed
to execute this method.
Returns:
boolean indicating if all roles are permitted to execute
this method.
isRunAsCallerIdentity
- boolean isRunAsCallerIdentity()
Return a boolean indicating if the identity for the execution of this
method is to come from the caller.
Returns:
boolean indicating if the identity for the execution of this
method is to come from the caller.
setDenyAll
- void setDenyAll(boolean isDenyAll)
Set boolean indicating that no security roles are allowed
to execute this method.
setPermitAll
- void setPermitAll(boolean isPermitAll)
Set boolean indicating that all security roles are allowed
to execute this method.
setRolesAllowed
- void setRolesAllowed(java.lang.String[] rolesAllowed)
Set a String array containing all security roles that are
allowed to execute this method.
Parameters:
rolesAllowed
- setRunAsCallerIdentity
- void setRunAsCallerIdentity(boolean isRunAsCallerIdentity)
Set a boolean indicating if the identity for the execution of this
method is to come from the caller.
Parameters:
isRunAsCallerIdentity
- setRunAsSpecifiedIdentity
- void setRunAsSpecifiedIdentity( java.lang.String runAsSpecifiedIdentity)
Set a String indicating the run-as identity for the execution of this
method.
Parameters:
runAsSpecifiedIdentity
-