A B C E G H I L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ActionPermission - Class in org.wicketstuff.security.hive.authorization.permissions
-
Base class for any Permission that uses actions.
- ActionPermission(String, WaspAction) - Constructor for class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
Creates a new ActionPermission with the specified name and actions.
- add(L, R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Adds a key value mapping in this map.
- addPermission(Principal, Permission) - Method in class org.wicketstuff.security.hive.BasicHive
-
Adds a new permission to a principal.
- addPolicyFile(URL) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Adds a new Hive policy file to this factory.
- addPrincipal(Principal) - Method in class org.wicketstuff.security.hive.authentication.BaseSubject
-
Adds a new principal to this subject.
- addPrincipal(Principal, Collection<Permission>) - Method in class org.wicketstuff.security.hive.BasicHive
-
Adds a new Principal to the hive.
- addReader(Reader) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Adds a new Hive policy to this factory.
- addStream(InputStream) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Adds a new Hive policy to this factory.
- AllPermissions - Class in org.wicketstuff.security.hive.authorization.permissions
-
Permission that implies all other permissions, when created with the "all" action.
- AllPermissions(String, ActionFactory) - Constructor for class org.wicketstuff.security.hive.authorization.permissions.AllPermissions
-
Preferred constructor.
- AllPermissions(String, WaspAction) - Constructor for class org.wicketstuff.security.hive.authorization.permissions.AllPermissions
-
Creates a new AllPermissions that does not imply all other permissions but only those who's actions it can imply.
- arrayToString(Object[]) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Generates a comma (,) separated string of all the items in the array
B
- BaseSubject - Class in org.wicketstuff.security.hive.authentication
-
Default implementation of a Subject.
- BaseSubject() - Constructor for class org.wicketstuff.security.hive.authentication.BaseSubject
- BasicHive - Class in org.wicketstuff.security.hive
-
Basic implementation of a Hive.
- BasicHive() - Constructor for class org.wicketstuff.security.hive.BasicHive
-
Construct.
C
- cacheLookUp(Subject, Permission) - Method in class org.wicketstuff.security.hive.BasicHive
-
Allows subclasses to retrieve previously cached results and thus speed up the check.
- cacheLookUp(Subject, Permission) - Method in class org.wicketstuff.security.hive.SimpleCachingHive
- cacheResult(Subject, Permission, boolean) - Method in class org.wicketstuff.security.hive.BasicHive
-
Allows subclasses to cache the result of a check and thus speed up this check the next time.
- cacheResult(Subject, Permission, boolean) - Method in class org.wicketstuff.security.hive.SimpleCachingHive
- clear() - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Removes all mappings.
- constructHive() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Changeable by subclasses to return there own hive subclass.
- containsLeft(L) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Check if this map contains a key.
- containsPermission(Permission) - Method in class org.wicketstuff.security.hive.BasicHive
- containsPermission(Permission) - Method in interface org.wicketstuff.security.hive.Hive
-
Checks if this hive contains exactly the permission.
- containsPrincipal(Principal) - Method in class org.wicketstuff.security.hive.BasicHive
- containsPrincipal(Principal) - Method in interface org.wicketstuff.security.hive.Hive
-
Checks if this hive contains an exact match for this principal.
- containsRight(R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Check if this map contains a key.
- createHive() - Method in interface org.wicketstuff.security.hive.config.HiveFactory
-
Creates a new Hive according to the configuration (if any) of this factory.
- createHive() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
This method is not thread safe.
E
- equals(Object) - Method in class org.wicketstuff.security.hive.authentication.LoginContext
-
A loginContext is equal to a LoginContext of the same class (not subclass) and level.
- equals(Object) - Method in class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
-
This principal equals every instance of the class.
- equals(Object) - Method in class org.wicketstuff.security.hive.authorization.Permission
-
Checks two Permission objects for equality.
- equals(Object) - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
ActionPermissions are only equal if they have the same class, name and actions.
- equals(Object) - Method in interface org.wicketstuff.security.hive.authorization.Principal
-
Compares this principal to the specified object.
- equals(Object) - Method in class org.wicketstuff.security.hive.authorization.SimplePrincipal
- equals(Object) - Method in class org.wicketstuff.security.util.ManyToManyMap
- EverybodyPrincipal - Class in org.wicketstuff.security.hive.authorization
-
Principal used for permissions granted to everyone, regardless of an authenticated subject.
- EverybodyPrincipal() - Constructor for class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
-
creates a new Principal named "everybody";
G
- getAction() - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
The internal representation of this action.
- getActionFactory() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Gets actionFactory.
- getActions() - Method in class org.wicketstuff.security.hive.authorization.Permission
-
Returns the actions as a String.
- getActions() - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
A logically ordered comma separated string containing each action this permission has.
- getAlias(String) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Returns the value of the alias.
- getCurrentLineNr() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
The current line being read.
- getHive(Object) - Static method in class org.wicketstuff.security.hive.HiveMind
-
Returns the Hive stored with the key.
- getLeft(R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Gets the bidirectional mappings for this object.
- getName() - Method in class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
-
Returns the name everybody.
- getName() - Method in class org.wicketstuff.security.hive.authorization.Permission
-
Returns the name of this Permission.
- getName() - Method in interface org.wicketstuff.security.hive.authorization.Principal
-
Returns the name of this principal.
- getName() - Method in class org.wicketstuff.security.hive.authorization.SimplePrincipal
- getPermissions(Principal) - Method in class org.wicketstuff.security.hive.BasicHive
- getPermissions(Principal) - Method in interface org.wicketstuff.security.hive.Hive
-
Returns a set of
Permissions, contained within the principal. - getPolicyFiles() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
A readonly view of the policy files added to this factory.
- getPrincipals() - Method in class org.wicketstuff.security.hive.authentication.BaseSubject
- getPrincipals() - Method in interface org.wicketstuff.security.hive.authentication.Subject
-
A readonly view of the principals.
- getPrincipals(Permission) - Method in class org.wicketstuff.security.hive.BasicHive
- getPrincipals(Permission) - Method in interface org.wicketstuff.security.hive.Hive
-
Returns a set of
Principals, each containing this permission. - getReaders() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
A readonly view of the readers added to this factory.
- getRight(L) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Gets the bidirectional mappings for this object.
- getSortOrder() - Method in class org.wicketstuff.security.hive.authentication.LoginContext
-
Indicates the sort order of this context.
- getStreams() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
A readonly view of the streams added to this factory.
- getSubject(String, String) - Method in class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
Validates the username and password.
H
- hashCode() - Method in class org.wicketstuff.security.hive.authentication.LoginContext
- hashCode() - Method in class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
- hashCode() - Method in class org.wicketstuff.security.hive.authorization.Permission
-
Returns the hash code value for this Permission object.
- hashCode() - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
generates a hashcode including the classname.
- hashCode() - Method in interface org.wicketstuff.security.hive.authorization.Principal
-
Returns a hashcode for this principal.
- hashCode() - Method in class org.wicketstuff.security.hive.authorization.SimplePrincipal
- hashCode() - Method in class org.wicketstuff.security.util.ManyToManyMap
- hasPermission(Subject, Permission) - Method in class org.wicketstuff.security.hive.BasicHive
- hasPermission(Subject, Permission) - Method in interface org.wicketstuff.security.hive.Hive
-
Checks if the subject has the exact permission, or if the permission is implied by any of the subjects principals.
- Hive - Interface in org.wicketstuff.security.hive
-
A Hive contains the security policy for the system, much like the
Policyin JAAS does. - HiveFactory - Interface in org.wicketstuff.security.hive.config
- HiveMind - Class in org.wicketstuff.security.hive
-
HiveMind maintains the collection of
Hives.
I
- implies(Subject) - Method in class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
-
Always returns true.
- implies(Subject) - Method in interface org.wicketstuff.security.hive.authorization.Principal
-
Even though a subject does not explicitly hold a principal, it may still be implied by the subject.
- implies(Subject) - Method in class org.wicketstuff.security.hive.authorization.SimplePrincipal
-
By default this principal does not imply any additional subjects.
- implies(Permission) - Method in class org.wicketstuff.security.hive.authorization.Permission
-
Check if this permission implies the specified permission.
- implies(Permission) - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
-
Performs a logical and to see if this permission has at least all the actions as the other permission and thus if this permission implies the other permission.
- implies(Permission) - Method in class org.wicketstuff.security.hive.authorization.permissions.AllPermissions
-
Implies every other permission, but the other way around is not necessarily true.
- isCloseInputStreams() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Gets closeInputStreams.
- isEmpty() - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Check if this map contains any mappings.
- isLocked() - Method in class org.wicketstuff.security.hive.BasicHive
-
Check if the hive is locked.
- isReadOnly() - Method in class org.wicketstuff.security.hive.authentication.BaseSubject
- isReadOnly() - Method in interface org.wicketstuff.security.hive.authentication.Subject
-
When set it is no longer possible to change the set of principals of this subject.
- isUsingHiveCache() - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Flag indicating if caching for the
Hiveis enabled or disabled.
L
- leftIterator() - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Returns an Iterator over every left hand mapping in this map.
- lock() - Method in class org.wicketstuff.security.hive.BasicHive
-
Locks this hive.
- login() - Method in class org.wicketstuff.security.hive.authentication.LoginContext
-
Perform a login.
- login() - Method in class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
The username and password are always null after this method returns.
- LoginContext - Class in org.wicketstuff.security.hive.authentication
-
A LoginContext is little more than a factory to create a
Subjectand can be discarded afterwards. - LoginContext() - Constructor for class org.wicketstuff.security.hive.authentication.LoginContext
-
Constructs a context for single login applications.
- LoginContext(boolean) - Constructor for class org.wicketstuff.security.hive.authentication.LoginContext
-
Constructs a new context with sort order 0 and a customizable flag for preventing additional logins.
- LoginContext(int) - Constructor for class org.wicketstuff.security.hive.authentication.LoginContext
-
Constructs a new context at the specified sort order.
- LoginContext(int, boolean) - Constructor for class org.wicketstuff.security.hive.authentication.LoginContext
-
Constructs a new context with customizable sort order and flag for preventing additional logins.
M
- ManyToManyMap<L,R> - Class in org.wicketstuff.security.util
-
Maps keys to lists of values and values to lists of keys.
- ManyToManyMap() - Constructor for class org.wicketstuff.security.util.ManyToManyMap
-
Creates map with default initial size and load factor.
- ManyToManyMap(int) - Constructor for class org.wicketstuff.security.util.ManyToManyMap
-
Creates map with default load factor and specified initial size.
- ManyToManyMap(int, float) - Constructor for class org.wicketstuff.security.util.ManyToManyMap
-
Creates map with specified initial size and load factor.
N
- notifyFileClose(URL, int) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a file is closed, either because the end of the file was reached or because an uncaught exception was thrown.
- notifyFileStart(URL) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a new file is about to be read.
- notifyLogoff(Subject) - Method in class org.wicketstuff.security.hive.authentication.LoginContext
-
Callback to take some action after a subject has been logged off.
- notifyOfPrincipal(int, Principal) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies of a new Principal read in the policy file.
- notifyPermission(int, Class<? extends Permission>, Class<?>[]) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a Permission could not be created because no suitable constructor was found.
- notifyPermission(int, Principal, Permission) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a permission is added to a principal.
- notifyReaderEnd(Reader, int) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies that the
Readerwill be read no further. - notifyReaderStart(Reader) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies that a reader is about to be read.
- notifyStreamEnd(InputStream, int) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies that the stream will be read no further.
- notifyStreamStart(InputStream) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies that a stream is about to be read.
- numberOfmappingsForLeft(L) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Returns the number of keys mapped to a value.
- numberOfmappingsForRight(R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Returns the number of keys mapped to a value.
O
- org.wicketstuff.security.hive - package org.wicketstuff.security.hive
- org.wicketstuff.security.hive.authentication - package org.wicketstuff.security.hive.authentication
- org.wicketstuff.security.hive.authorization - package org.wicketstuff.security.hive.authorization
- org.wicketstuff.security.hive.authorization.permissions - package org.wicketstuff.security.hive.authorization.permissions
- org.wicketstuff.security.hive.config - package org.wicketstuff.security.hive.config
- org.wicketstuff.security.util - package org.wicketstuff.security.util
P
- Permission - Class in org.wicketstuff.security.hive.authorization
-
Abstract class for representing access to a system resource.
- Permission(String) - Constructor for class org.wicketstuff.security.hive.authorization.Permission
-
Constructs a permission with a certain name.
- PolicyFileHiveFactory - Class in org.wicketstuff.security.hive.config
-
A factory to produce Hive's based on policy files.
- PolicyFileHiveFactory(ActionFactory) - Constructor for class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Constructs a new factory that builds a Hive out of one (1) or more policy files.
- preventsAdditionalLogins() - Method in class org.wicketstuff.security.hive.authentication.LoginContext
-
Signals that no additional context should be allowed to login.
- Principal - Interface in org.wicketstuff.security.hive.authorization
-
This interface represents the abstract notion of a principal, which can be used to represent a set of permissions on the system.
R
- read(Reader, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a
Reader, found items are added to the hive. - readInputReader(Reader, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a
Reader, found items are added to the hive. - readInputStream(InputStream, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a stream, found items are added to the hive.
- readPolicyFile(URL, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a file, found items are added to the hive.
- readReader(Reader, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a
Reader, found items are added to the hive. - readStream(InputStream, BasicHive) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Reads principals and permissions from a
InputStream, found items are added to the hive. - registerHive(Object, HiveFactory) - Static method in class org.wicketstuff.security.hive.HiveMind
-
Registers a new Hive for anybody knowing the right key to be retrieved.
- remove(L, R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Removes a many to many mapping between two objects.
- removeAllMappingsForLeft(L) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Remove all mappings for an object.
- removeAllMappingsForRight(R) - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Remove all mappings for an object.
- rightIterator() - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Returns an Iterator over every rightt hand mapping in this map.
S
- setAlias(String, String) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Sets the value for an alias, overwrites any existing alias with the same name
- setCloseInputStreams(boolean) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Sets closeInputStreams.
- setReadOnly() - Method in class org.wicketstuff.security.hive.authentication.BaseSubject
- setReadOnly() - Method in interface org.wicketstuff.security.hive.authentication.Subject
-
Mark this subject as readonly.
- SimpleCachingHive - Class in org.wicketstuff.security.hive
-
A very simple caching mechanism on top of
BasicHive. - SimpleCachingHive() - Constructor for class org.wicketstuff.security.hive.SimpleCachingHive
- SimplePrincipal - Class in org.wicketstuff.security.hive.authorization
-
A very simple principal.
- SimplePrincipal(String) - Constructor for class org.wicketstuff.security.hive.authorization.SimplePrincipal
-
Constructor.
- size() - Method in class org.wicketstuff.security.util.ManyToManyMap
-
Returns the number of mapped values, left or right
- skipEmptyPrincipal(int, Principal) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a principal is skipped because there are no permissions attached.
- skipIllegalPermission(int, Principal, Permission) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies of permissions located outside the { and }; block statements but after a valid principal was found.
- skipIllegalPrincipal(int, Principal, Set<Permission>) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a
Principalbegins at an illegal place in the file. - skipLine(int, String) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a line is skipped because it was not understood for any other reason.
- skipPermission(int, Class<?>) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a Class is skipped because it is not a Permission or no valid constructors could be found.
- skipPermission(int, Class<? extends Permission>, Object[], Exception) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notified when a new instance of the permission could not be created.
- skipPermission(int, String, ClassNotFoundException) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a permission class could not be found.
- skipPermission(int, Principal, Permission) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies of duplicate permissions for a principal.
- skipPrincipal(int, Class<? extends Principal>) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when the principal does not have an accessible constructor for a single
Stringargument. - skipPrincipal(int, Class<? extends Principal>, Exception) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a new instance of the principl could not be created.
- skipPrincipalClass(int, Class<?>) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a classname is not a
Principal. - skipPrincipalClass(int, String, ClassNotFoundException) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Notifies when a Principal class could not be found.
- Subject - Interface in org.wicketstuff.security.hive.authentication
-
Subject represents (part of) an authenticated entity, such as an individual, a corporation, or a login id.
T
- toString() - Method in class org.wicketstuff.security.hive.authorization.EverybodyPrincipal
- toString() - Method in class org.wicketstuff.security.hive.authorization.permissions.ActionPermission
- toString() - Method in interface org.wicketstuff.security.hive.authorization.Principal
-
Returns a string representation of this principal.
- toString() - Method in class org.wicketstuff.security.util.ManyToManyMap
U
- unregisterHive(Object) - Static method in class org.wicketstuff.security.hive.HiveMind
-
Removes the registration of a single Hive.
- useHiveCache(boolean) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Sets useHiveCache.
- UsernamePasswordContext - Class in org.wicketstuff.security.hive.authentication
-
Simple
LoginContextfor a username and password, which may or may not be encrypted. - UsernamePasswordContext() - Constructor for class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
Constructor for logoff purposes.
- UsernamePasswordContext(int, boolean) - Constructor for class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
Constructor for logoff purposes should you have chosen allow additional logins.
- UsernamePasswordContext(String, String) - Constructor for class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
Constructor for login purposes.
- UsernamePasswordContext(String, String, int, boolean) - Constructor for class org.wicketstuff.security.hive.authentication.UsernamePasswordContext
-
Constructor for login purposes should you have chosen allow additional logins.
W
- warnUnclosedPrincipalBlock(Principal, int) - Method in class org.wicketstuff.security.hive.config.PolicyFileHiveFactory
-
Warning when the last principal of a file is not properly closed.
All Classes All Packages