|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Main interface to configure the policy for a specified permission type and manage security of portal resources.
| Method Summary | |
void |
addListener(ConfigListener listener)
Add a configuration change listener to notify when changes occur in this policy config |
java.util.Set |
getConstraints(java.lang.String uri)
|
java.lang.String |
getPermissionType()
The permission type managed by this config. |
void |
removeConstraints(java.lang.String uri)
Remove the contstraints for the provided uri |
void |
removeListener(ConfigListener listener)
Remove the provided listener from the list of listeners to notify about changes in this policy config |
void |
setConstraints(java.lang.String uri,
java.util.Set constraints)
add the provided constraints to this policy configuration |
| Method Detail |
public java.lang.String getPermissionType()
public void setConstraints(java.lang.String uri,
java.util.Set constraints)
throws PortalPolicyConfigException
uri - constraints - a set of SecurityConstraint elements containing allowed roles and actions
PortalPolicyConfigExceptionpublic java.util.Set getConstraints(java.lang.String uri)
uri -
public void removeConstraints(java.lang.String uri)
throws PortalPolicyConfigException
uri - the identifier of the secured resource
PortalPolicyConfigException - if the resource identified by uri is not securedpublic void addListener(ConfigListener listener)
listener - the listener to addpublic void removeListener(ConfigListener listener)
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||