public class Configuration.RslPathInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SIGNED_RSL_URL_DOT_EXTENSION |
static String |
SIGNED_RSL_URL_EXTENSION
The extension given to a signed RLS that is assumed to be signed.
|
Constructor and Description |
---|
Configuration.RslPathInfo()
Create a new cross-domain RSL entry.
|
Modifier and Type | Method and Description |
---|---|
void |
addPolicyFileUrl(String url)
Add a policy file to support the associated entry in the RSL URL list.
|
void |
addRslUrl(String url)
Add an RSL to the list of RSLs.
|
List<String> |
getPolicyFileUrls()
Get the list of policy files.
|
List<String> |
getRslUrls() |
List<Boolean> |
getSignedFlags()
Return a list of booleans that indicate if an RSL URL is signed or unsigned.
|
String |
getSwcPath() |
VirtualFile |
getSwcVirtualFile() |
boolean |
isRslUrlSigned(String url)
Test is the url is signed.
|
void |
setSwcPath(String swcPath)
Set the path to the swc.
|
void |
setSwcVf(VirtualFile vf)
Set the virtual file associated with the swc path.
|
public static final String SIGNED_RSL_URL_EXTENSION
public static final String SIGNED_RSL_URL_DOT_EXTENSION
public Configuration.RslPathInfo()
public boolean isRslUrlSigned(String url)
url
- url to test, the file specified by the url does not
need to exist.public void setSwcPath(String swcPath)
swcPath
- public String getSwcPath()
public void setSwcVf(VirtualFile vf)
vf
- public VirtualFile getSwcVirtualFile()
public void addRslUrl(String url)
url
- url of the RSL, may not be nullpublic List<String> getRslUrls()
String
.public void addPolicyFileUrl(String url)
url
- url of the policy file.public List<String> getPolicyFileUrls()
String
public List<Boolean> getSignedFlags()
Boolean
.Copyright © 2016 The Apache Software Foundation. All rights reserved.