Package | Description |
---|---|
org.apache.river.api.security |
This package contains a scalable cache based security manager that parallelises
domain security checks.
|
Modifier and Type | Method and Description |
---|---|
void |
Segment.divideAndReplace(String START_MARK,
String END_MARK,
String regex,
Properties p)
Segments the current String by find Properties between the START_MARK and
END_MARK and replacing them with their values, splitting them into separate
Strings (that remain encapsulated in the Segment) if regex is non null.
|
static String |
PolicyUtils.expand(String str,
Properties properties)
Substitutes all entries like ${some.key}, found in specified string,
for specified values.
|
(package private) static String |
PolicyUtils.expandGeneral(String str,
PolicyUtils.GeneralExpansionHandler handler)
Substitutes all entries like ${{protocol:data}}, found in specified string,
for values resolved by passed handler.
|
(package private) static String |
PolicyUtils.expandURL(String str,
Properties properties)
Handy shortcut for
expand(str, properties).replace(File.separatorChar, '/') . |
(package private) Collection<String> |
DefaultPolicyParser.expandURLs(String s,
Properties p) |
String |
PolicyUtils.GeneralExpansionHandler.resolve(String protocol,
String data)
Resolves general expansion expressions of the form ${{protocol:data}}.
|
String |
DefaultPolicyParser.PermissionExpander.resolve(String protocol,
String data)
Resolves the following protocols:
self
Denotes substitution to a principal information of the parental
GrantEntry.
|
(package private) Segment |
DefaultPolicyParser.segment(String s,
Properties p) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.