public interface PolicyParser
PermissionGrant
,
URL
,
Properties
,
ConcurrentPolicyFile
Modifier and Type | Method and Description |
---|---|
Collection<PermissionGrant> |
parse(URL location,
Properties system)
Parses a given location, making use of system properties as necessary and
returns a collection of
PermissionGrant 's |
Collection<PermissionGrant> parse(URL location, Properties system) throws Exception
PermissionGrant
'slocation
- an URL of a policy file to be loadedsystem
- system properties, used for property expansionException
- IO error while reading location or file syntax errorCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.