A C D E G H I J K L O P R S T W 

A

AbstractEntry - Class in org.eclipse.jetty.policy.entry
 
AbstractEntry() - Constructor for class org.eclipse.jetty.policy.entry.AbstractEntry
 
addPrincipal(PrincipalEntry) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
Adds specified element to the principals collection.
addProperty(String, String) - Method in class org.eclipse.jetty.policy.JettyPolicyConfigurator
 
addProperty(String, String) - Method in class org.eclipse.jetty.policy.PolicyContext
 

C

certificates - Variable in class org.eclipse.jetty.policy.PolicyBlock
 
codesource - Variable in class org.eclipse.jetty.policy.PolicyBlock
 
composeStatus(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Formats a detailed description of tokenizer status: current token, current line number, etc.
configure(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Configures passed tokenizer accordingly to supported syntax.

D

DefaultPolicyLoader - Class in org.eclipse.jetty.policy.loader
Load the policies within the stream and resolve into protection domains and permission collections
DefaultPolicyLoader() - Constructor for class org.eclipse.jetty.policy.loader.DefaultPolicyLoader
 
doStart() - Method in class org.eclipse.jetty.policy.PolicyMonitor
called by the abstract lifecycle to start the monitor
doStop() - Method in class org.eclipse.jetty.policy.PolicyMonitor
called by the abstract life cycle to turn off the monitor
dump(PrintStream) - Method in class org.eclipse.jetty.policy.JettyPolicy
 

E

evaluate(String) - Method in class org.eclipse.jetty.policy.PolicyContext
 
expand(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.AbstractEntry
 
expand(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
expand(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 
expand(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
expand(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 

G

getActions() - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
getCertificates() - Method in class org.eclipse.jetty.policy.PolicyBlock
 
getCertificateValidator() - Method in class org.eclipse.jetty.policy.JettyPolicy
 
getCodeSource() - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
getCodeSource() - Method in class org.eclipse.jetty.policy.PolicyBlock
 
getContext() - Static method in class org.eclipse.jetty.policy.JettyPolicy
returns the policy context which contains the map of properties that can be referenced in policy files and the keystore for validation
getKeyStore() - Method in class org.eclipse.jetty.policy.PolicyBlock
 
getKeystore() - Method in class org.eclipse.jetty.policy.PolicyContext
 
getKlass() - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
getKlass() - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 
getName() - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
getName() - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 
getPermissions() - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
getPermissions(ProtectionDomain) - Method in class org.eclipse.jetty.policy.JettyPolicy
 
getPermissions(CodeSource) - Method in class org.eclipse.jetty.policy.JettyPolicy
 
getPermissions() - Method in class org.eclipse.jetty.policy.PolicyBlock
 
getPrincipals() - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
getPrincipals() - Method in class org.eclipse.jetty.policy.PolicyBlock
 
getPrincipals() - Method in class org.eclipse.jetty.policy.PolicyContext
 
getProperty(String) - Method in class org.eclipse.jetty.policy.PolicyContext
 
getScanCount() - Method in class org.eclipse.jetty.policy.PolicyMonitor
gets the number of times the scan has been run
getScanInterval() - Method in class org.eclipse.jetty.policy.PolicyMonitor
gets the scanner interval
getSigners() - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
getType() - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 
getUrl() - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 
GrantEntry - Class in org.eclipse.jetty.policy.entry
 
GrantEntry() - Constructor for class org.eclipse.jetty.policy.entry.GrantEntry
 

H

handleUnexpectedToken(StreamTokenizer, String) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Throws InvalidFormatException with detailed diagnostics.
handleUnexpectedToken(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Throws InvalidFormatException with error status: which token is unexpected on which line.

I

implies(ProtectionDomain, Permission) - Method in class org.eclipse.jetty.policy.JettyPolicy
 
initialize() - Method in class org.eclipse.jetty.policy.JettyPolicy
required for the jetty policy to start function, initializes the policy monitor and blocks for a full cycle of policy grant updates
initialize() - Method in class org.eclipse.jetty.policy.JettyPolicyConfigurator
 
isDirty() - Method in class org.eclipse.jetty.policy.entry.AbstractEntry
 
isExpanded() - Method in class org.eclipse.jetty.policy.entry.AbstractEntry
 
isInitialized() - Method in class org.eclipse.jetty.policy.PolicyMonitor
true of the monitor is initialized, meaning that at least one scan cycle has completed and any policy grants found have been chirped
isReloadEnabled() - Method in class org.eclipse.jetty.policy.PolicyMonitor
true of reload is enabled, false otherwise

J

JettyPolicy - Class in org.eclipse.jetty.policy
Policy implementation that will load a set of policy files and manage the mapping of permissions and protection domains Features of JettyPolicy are: - we are able to follow the startup mechanic that jetty uses with jetty-start using OPTIONS=policy,default to be able to startup a security manager and policy implementation without have to rely on the existing JVM cli options - support for specifying multiple policy files to source permissions from - support for merging protection domains across multiple policy files for the same codesource - support for directories of policy files, just specify directory and all *.policy files will be loaded.
JettyPolicy(String, Map<String, String>) - Constructor for class org.eclipse.jetty.policy.JettyPolicy
 
JettyPolicyConfigurator - Class in org.eclipse.jetty.policy
 
JettyPolicyConfigurator() - Constructor for class org.eclipse.jetty.policy.JettyPolicyConfigurator
 

K

keyStore - Variable in class org.eclipse.jetty.policy.PolicyBlock
 
KeystoreEntry - Class in org.eclipse.jetty.policy.entry
 
KeystoreEntry() - Constructor for class org.eclipse.jetty.policy.entry.KeystoreEntry
 

L

load(InputStream, PolicyContext) - Static method in class org.eclipse.jetty.policy.loader.DefaultPolicyLoader
 

O

onPolicyChange(PolicyBlock) - Method in class org.eclipse.jetty.policy.PolicyMonitor
implemented by the user of the policy monitor to handle custom logic related to the usage of the policy grant instance/s.
org.eclipse.jetty.policy - package org.eclipse.jetty.policy
 
org.eclipse.jetty.policy.entry - package org.eclipse.jetty.policy.entry
 
org.eclipse.jetty.policy.loader - package org.eclipse.jetty.policy.loader
 

P

PermissionEntry - Class in org.eclipse.jetty.policy.entry
 
PermissionEntry() - Constructor for class org.eclipse.jetty.policy.entry.PermissionEntry
 
permissions - Variable in class org.eclipse.jetty.policy.PolicyBlock
 
PolicyBlock - Class in org.eclipse.jetty.policy
 
PolicyBlock() - Constructor for class org.eclipse.jetty.policy.PolicyBlock
 
PolicyContext - Class in org.eclipse.jetty.policy
 
PolicyContext() - Constructor for class org.eclipse.jetty.policy.PolicyContext
 
PolicyException - Exception in org.eclipse.jetty.policy
 
PolicyException() - Constructor for exception org.eclipse.jetty.policy.PolicyException
 
PolicyException(String, Throwable) - Constructor for exception org.eclipse.jetty.policy.PolicyException
 
PolicyException(String) - Constructor for exception org.eclipse.jetty.policy.PolicyException
 
PolicyException(Throwable) - Constructor for exception org.eclipse.jetty.policy.PolicyException
 
PolicyFileScanner - Class in org.eclipse.jetty.policy.loader
This is a basic high-level tokenizer of policy files.
PolicyFileScanner() - Constructor for class org.eclipse.jetty.policy.loader.PolicyFileScanner
 
PolicyFileScanner.InvalidFormatException - Exception in org.eclipse.jetty.policy.loader
Specific exception class to signal policy file syntax error.
PolicyFileScanner.InvalidFormatException(String) - Constructor for exception org.eclipse.jetty.policy.loader.PolicyFileScanner.InvalidFormatException
Constructor with detailed message parameter.
PolicyMonitor - Class in org.eclipse.jetty.policy
PolicyMonitor watches a directory for files ending in the *.policy extension, loads them and detects when they change.
PolicyMonitor() - Constructor for class org.eclipse.jetty.policy.PolicyMonitor
empty constructor
PolicyMonitor(String) - Constructor for class org.eclipse.jetty.policy.PolicyMonitor
construtor with a predetermined directory to monitor
PrincipalEntry - Class in org.eclipse.jetty.policy.entry
 
PrincipalEntry() - Constructor for class org.eclipse.jetty.policy.entry.PrincipalEntry
 
principals - Variable in class org.eclipse.jetty.policy.PolicyBlock
 

R

readGrantNode(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Tries to read grant clause.
readKeystoreNode(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Tries to read keystore clause fields.
readPermissionEntries(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Tries to read a list of permission entries.
readPrincipalNode(StreamTokenizer) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Tries to read Principal Node fields.
refresh() - Method in class org.eclipse.jetty.policy.JettyPolicy
 

S

scanStream(Reader, Collection<GrantEntry>, List<KeystoreEntry>) - Method in class org.eclipse.jetty.policy.loader.PolicyFileScanner
Performs the main parsing loop.
setActions(String) - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
setCertificates(Set<Certificate>) - Method in class org.eclipse.jetty.policy.PolicyBlock
 
setCertificateValidator(CertificateValidator) - Method in class org.eclipse.jetty.policy.JettyPolicy
 
setCodebase(String) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
setCodeSource(CodeSource) - Method in class org.eclipse.jetty.policy.PolicyBlock
 
setDirty(boolean) - Method in class org.eclipse.jetty.policy.entry.AbstractEntry
 
setExpanded(boolean) - Method in class org.eclipse.jetty.policy.entry.AbstractEntry
 
setKeyStore(KeyStore) - Method in class org.eclipse.jetty.policy.PolicyBlock
 
setKeystore(KeyStore) - Method in class org.eclipse.jetty.policy.PolicyContext
 
setKlass(String) - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
setKlass(String) - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 
setName(String) - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
setName(String) - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 
setPermissions(Collection<PermissionEntry>) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
setPermissions(PermissionCollection) - Method in class org.eclipse.jetty.policy.PolicyBlock
 
setPolicyDirectory(String) - Method in class org.eclipse.jetty.policy.JettyPolicyConfigurator
 
setPolicyDirectory(String) - Method in class org.eclipse.jetty.policy.PolicyMonitor
set the policy directory to scan on a non-running monitor
setPrincipals(Collection<PrincipalEntry>) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
setPrincipals(Principal[]) - Method in class org.eclipse.jetty.policy.PolicyBlock
 
setPrincipals(Principal[]) - Method in class org.eclipse.jetty.policy.PolicyContext
 
setProperties(Map<String, String>) - Method in class org.eclipse.jetty.policy.PolicyContext
 
setReload(boolean) - Method in class org.eclipse.jetty.policy.PolicyMonitor
sets the monitor to reload or not, but only if the monitor isn't already running TODO this doesn't really _have_ to be on a non-running monitor
setScanInterval(int) - Method in class org.eclipse.jetty.policy.PolicyMonitor
sets the scanner interval on a non-running instance of the monitor
setSigners(String) - Method in class org.eclipse.jetty.policy.entry.GrantEntry
 
setSigners(String) - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
setType(String) - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 
setUrl(String) - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 

T

toKeyStore() - Method in class org.eclipse.jetty.policy.entry.KeystoreEntry
 
toPermission() - Method in class org.eclipse.jetty.policy.entry.PermissionEntry
 
toPrincipal(PolicyContext) - Method in class org.eclipse.jetty.policy.entry.PrincipalEntry
 
toProtectionDomain() - Method in class org.eclipse.jetty.policy.PolicyBlock
 

W

waitForScan() - Method in class org.eclipse.jetty.policy.PolicyMonitor
initiates a scan and blocks until it has been completed
WILDCARD - Static variable in class org.eclipse.jetty.policy.entry.PrincipalEntry
Wildcard value denotes any class and/or any name.
A C D E G H I J K L O P R S T W 

Copyright © 2013 FuseSource, Corp.. All Rights Reserved.