|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface via which elements of Policy are resolved. For example it is possible for the Policy file to use abstract URLs such as "sar:/SAR-INF/lib/" which need to be mapped to a concrete URL. It is also necessary for the target values of permissions to be "resolved" using a pseuedo expression language.
Method Summary | |
Policy |
createPolicy(Map grants)
Create a Policy object from a grant map. |
URL |
resolveLocation(String location)
Resolve a location to a URL. |
Method Detail |
public URL resolveLocation(String location) throws Exception
location
- the location
Exception
- if unable to resolve URLpublic Policy createPolicy(Map grants) throws Exception
grants
- the grants map
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |