|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityAccessController
This component abstracts access to security checks. Jetspeed supports two kinds of secured access:
Field Summary | |
---|---|
static int |
CONSTRAINTS
Use the Jetspeed Security Constraints to make secure access checks |
static int |
PERMISSIONS
Use the Java Security Policy (Permissions) to make secure access checks |
Method Summary | |
---|---|
boolean |
checkPortletAccess(PortletDefinitionComposite portlet,
int mask)
Checks access for the implicit active subject's access to the resource protected by the portlet permission This is an abstraction introduced in 2.1 for Permission Manager implementations NOT founded upon the a Java security policy. |
int |
getSecurityMode()
Returns the configured security mode for this accessor This component can be configured to make Java Security Policy permission checks or Jetspeed Security Constraint checks |
Field Detail |
---|
static final int PERMISSIONS
static final int CONSTRAINTS
Method Detail |
---|
boolean checkPortletAccess(PortletDefinitionComposite portlet, int mask)
Checks access for the implicit active subject's access to the resource protected by the portlet permission This is an abstraction introduced in 2.1 for Permission Manager implementations NOT founded upon the a Java security policy. If the Permission Manager is configured to run with Security Constraints, then a security constraint check is made. Otherwise, a standard Java Security permission check is made.
portlet
- The portlet to be checkedmask
- A mask JetspeedActions
such as view, edit
int getSecurityMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |