|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecuredResource
SecuredResource
Implemented by those resources that have a security constraint defined for security purposes.
Method Summary | |
---|---|
void |
checkAccess(String actions)
checkAccess |
void |
checkConstraints(String actions)
checkConstraints |
void |
checkPermissions(int mask)
checkPermissions |
boolean |
getConstraintsEnabled()
getConstraintsEnabled |
boolean |
getPermissionsEnabled()
getPermissionsEnabled |
SecurityConstraints |
getSecurityConstraints()
getSecurityConstraints |
SecurityConstraint |
newSecurityConstraint()
newSecurityConstraint |
SecurityConstraints |
newSecurityConstraints()
newSecurityConstraints |
void |
setSecurityConstraints(SecurityConstraints constraints)
setSecurityConstraints |
Method Detail |
---|
boolean getConstraintsEnabled()
getConstraintsEnabled
SecurityConstraints getSecurityConstraints()
getSecurityConstraints
SecurityConstraints newSecurityConstraints()
newSecurityConstraints
SecurityConstraint newSecurityConstraint()
newSecurityConstraint
void setSecurityConstraints(SecurityConstraints constraints)
setSecurityConstraints
constraints
- security constraints for resourcevoid checkConstraints(String actions) throws SecurityException
checkConstraints
actions
- list to be checked against in CSV string form
SecurityException
boolean getPermissionsEnabled()
getPermissionsEnabled
void checkPermissions(int mask) throws SecurityException
checkPermissions
mask
- Mask of actions to be checked
SecurityException
void checkAccess(String actions) throws SecurityException
checkAccess
actions
- list to be checked against in CSV string form
SecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |