|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.om.page.psml.SecurityConstraintImpl
SecurityConstraintImpl
| Field Summary | |
private String |
groups
|
private List |
groupsList
|
private String |
permissions
|
private List |
permissionsList
|
private String |
roles
|
private List |
rolesList
|
private String |
users
|
private List |
usersList
|
| Fields inherited from interface org.apache.jetspeed.om.common.SecurityConstraint |
WILD_CHAR |
| Constructor Summary | |
SecurityConstraintImpl()
|
|
| Method Summary | |
boolean |
actionMatch(String action)
actionMatch |
static boolean |
containsAny(Collection collection0,
Collection collection1)
containsAny |
String |
getGroups()
getGroups |
List |
getGroupsList()
getGroupsList |
String |
getPermissions()
getPermissions |
List |
getPermissionsList()
getPermissionsList |
String |
getRoles()
getRoles |
List |
getRolesList()
getRolesList |
String |
getUsers()
getUsers |
List |
getUsersList()
getUsersList |
static List |
parseCSVList(String csv)
parseCSVList |
boolean |
principalsMatch(List userPrincipals,
List rolePrincipals,
List groupPrincipals,
boolean allowDefault)
principalsMatch |
void |
setGroups(String groups)
setGroups |
void |
setPermissions(String permissions)
setPermissions |
void |
setRoles(String roles)
setRoles |
void |
setUsers(String users)
setUsers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String users
private List usersList
private String roles
private List rolesList
private String groups
private List groupsList
private String permissions
private List permissionsList
| Constructor Detail |
public SecurityConstraintImpl()
| Method Detail |
public String getUsers()
getUsers
getUsers in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getUsers()public List getUsersList()
getUsersList
getUsersList in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getUsersList()public void setUsers(String users)
setUsers
setUsers in interface org.apache.jetspeed.om.common.SecurityConstraintusers - SecurityConstraint.setUsers(java.lang.String)public String getRoles()
getRoles
getRoles in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getRoles()public List getRolesList()
getRolesList
getRolesList in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getRolesList()public void setRoles(String roles)
setRoles
setRoles in interface org.apache.jetspeed.om.common.SecurityConstraintroles - SecurityConstraint.setRoles(java.lang.String)public String getGroups()
getGroups
getGroups in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getGroups()public List getGroupsList()
getGroupsList
getGroupsList in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getGroupsList()public void setGroups(String groups)
setGroups
setGroups in interface org.apache.jetspeed.om.common.SecurityConstraintgroups - SecurityConstraint.setGroups(java.lang.String)public String getPermissions()
getPermissions
getPermissions in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getPermissions()public List getPermissionsList()
getPermissionsList
getPermissionsList in interface org.apache.jetspeed.om.common.SecurityConstraintSecurityConstraint.getPermissionsList()public void setPermissions(String permissions)
setPermissions
setPermissions in interface org.apache.jetspeed.om.common.SecurityConstraintpermissions - SecurityConstraint.setPermissions(java.lang.String)
public boolean principalsMatch(List userPrincipals,
List rolePrincipals,
List groupPrincipals,
boolean allowDefault)
principalsMatch
Test user/role/group names against principal names.
userPrincipals - rolePrincipals - groupPrincipals - allowDefault -
public boolean actionMatch(String action)
actionMatch
Test permission names against action name.
action -
public static List parseCSVList(String csv)
parseCSVList
Utility to parse CSV string values into Lists.
csv -
public static boolean containsAny(Collection collection0,
Collection collection1)
containsAny
Utility implementation for contains any test against two collections.
collection0 - collection1 -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||