Skip navigation links
A C D E F G H I J L M N O P Q R S T U V W 

A

AbstractAuthorizationRule - Class in org.wamblee.security.authorization
Represents an authorization rule to determine whether an operation is allowed on a resource.
AbstractAuthorizationRule() - Constructor for class org.wamblee.security.authorization.AbstractAuthorizationRule
 
AbstractAuthorizationRule(AbstractAuthorizationRule) - Constructor for class org.wamblee.security.authorization.AbstractAuthorizationRule
 
AbstractAuthorizationService - Class in org.wamblee.security.authorization
Service to determine if access to a certain resource is allowed.
AbstractAuthorizationService() - Constructor for class org.wamblee.security.authorization.AbstractAuthorizationService
 
AbstractAuthorizationService(String) - Constructor for class org.wamblee.security.authorization.AbstractAuthorizationService
 
AbstractAuthorizationService(AbstractAuthorizationService) - Constructor for class org.wamblee.security.authorization.AbstractAuthorizationService
 
AbstractOperationCondition - Class in org.wamblee.security.authorization
Checks if an operation matches a condition.
AbstractOperationCondition() - Constructor for class org.wamblee.security.authorization.AbstractOperationCondition
 
AbstractOperationCondition(AbstractOperationCondition) - Constructor for class org.wamblee.security.authorization.AbstractOperationCondition
 
AbstractPathCondition - Class in org.wamblee.security.authorization
Checks if a path satisfies a condition.
AbstractPathCondition() - Constructor for class org.wamblee.security.authorization.AbstractPathCondition
 
AbstractPathCondition(AbstractPathCondition) - Constructor for class org.wamblee.security.authorization.AbstractPathCondition
 
AbstractUserCondition - Class in org.wamblee.security.authorization
Condition used to match a user against a specified set of users.
AbstractUserCondition() - Constructor for class org.wamblee.security.authorization.AbstractUserCondition
 
AbstractUserCondition(AbstractUserCondition) - Constructor for class org.wamblee.security.authorization.AbstractUserCondition
 
AbstractUserSet - Class in org.wamblee.security.authentication
User set base class.
AbstractUserSet(NameValidator, MessageDigester) - Constructor for class org.wamblee.security.authentication.AbstractUserSet
Creates a new AbstractUserSet object.
add(Group) - Method in interface org.wamblee.security.authentication.GroupSet
Adds a group.
add(Group) - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
add(User) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
add(Group) - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
add(User) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
add(User) - Method in interface org.wamblee.security.authentication.UserSet
Adds a user.
addUserToGroup(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Adds a user to a group.
addUserToGroup(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
AllOperation - Class in org.wamblee.security.authorization
An superclass of all other operations.
AllOperation() - Constructor for class org.wamblee.security.authorization.AllOperation
Constructs an all operation.
AllOperation(String) - Constructor for class org.wamblee.security.authorization.AllOperation
Constructs the operation, this constructor is the one that must be used by subclasses.
AnyUserCondition - Class in org.wamblee.security.authorization
Matches any user.
AnyUserCondition() - Constructor for class org.wamblee.security.authorization.AnyUserCondition
Constructs the condition.
appendRule(AuthorizationRule) - Method in interface org.wamblee.security.authorization.AuthorizationService
Appends a new authorization rule to the end.
appendRule(AuthorizationRule) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
appendRule(AuthorizationRule) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
AuthorizationException - Exception in org.wamblee.security.authorization
Authorization exception to be thrown when a resouce may not be accessed.
AuthorizationException(Object, Operation) - Constructor for exception org.wamblee.security.authorization.AuthorizationException
Creates a new AuthorizationException object.
AuthorizationInitializer - Class in org.wamblee.security.authorization
Inititializer class for authorization rules.
AuthorizationInitializer(AuthorizationService, AbstractAuthorizationRule[]) - Constructor for class org.wamblee.security.authorization.AuthorizationInitializer
Initializes authorization rules in case none are present.
AuthorizationResult - Enum in org.wamblee.security.authorization
Represents the result of an authorization decision.
AuthorizationRule - Interface in org.wamblee.security.authorization
Represents an authorization rule to determine whether an operation is allowed on a resource.
AuthorizationService - Interface in org.wamblee.security.authorization
Service to determine if access to a certain resource is allowed.

C

changePassword(String, String) - Method in class org.wamblee.security.authentication.User
Changes the password.
changePassword(String, String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Changes the password.
changePassword(String, String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
check(T, Operation) - Method in interface org.wamblee.security.authorization.AuthorizationService
Checks if the given operation is allowed on the resource.
check(T, Operation) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
check(T, Operation) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
checkGroup(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Check if a group exists.
checkGroup(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
checkPassword(String) - Method in class org.wamblee.security.authentication.User
Checks the password.
checkPassword(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Checks the password.
checkPassword(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
checkUser(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Checks if a user exists.
checkUser(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
clearCache() - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
clearCache() - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
clearCache() - Method in interface org.wamblee.security.authentication.UserSet
Clears the user cache.
compareTo(Object) - Method in class org.wamblee.security.authentication.Group
 
compareTo(Object) - Method in class org.wamblee.security.authentication.User
 
contains(Group) - Method in interface org.wamblee.security.authentication.GroupSet
Determines if the group exists.
contains(Group) - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
contains(User) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
contains(Group) - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
contains(User) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
contains(User) - Method in interface org.wamblee.security.authentication.UserSet
Checks if a user exists.
createGroup(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Creates a new group.
createGroup(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
CreateOperation - Class in org.wamblee.security.authorization
Represents an operation to create something.
CreateOperation() - Constructor for class org.wamblee.security.authorization.CreateOperation
Constructs the operation.
createUser(String, String) - Method in class org.wamblee.security.authentication.AbstractUserSet
 
createUser(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Creates a new user.
createUser(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
createUser(String, String) - Method in interface org.wamblee.security.authentication.UserSet
Creates a user.

D

decode(Class, String) - Method in class org.wamblee.security.authorization.DefaultOperationRegistry
 
decode(String) - Method in class org.wamblee.security.authorization.DefaultOperationRegistry
 
decode(Class, String) - Method in interface org.wamblee.security.authorization.OperationRegistry
Converts an operations string to an array of operations.
decode(String) - Method in interface org.wamblee.security.authorization.OperationRegistry
Converts an operations string to an array of operations.
DefaultAuthorizationService - Class in org.wamblee.security.authorization
Default implementation of an authorization service.
DefaultAuthorizationService(UserAccessor, UserAdministration, String) - Constructor for class org.wamblee.security.authorization.DefaultAuthorizationService
Constructs the service.
DefaultAuthorizationService() - Constructor for class org.wamblee.security.authorization.DefaultAuthorizationService
Constructs the authorization service.
DefaultOperationRegistry - Class in org.wamblee.security.authorization
Operation registry implementation.
DefaultOperationRegistry(Operation[]) - Constructor for class org.wamblee.security.authorization.DefaultOperationRegistry
Creates a new DefaultOperationRegistry object.
DeleteOperation - Class in org.wamblee.security.authorization
Deletes the operation.
DeleteOperation() - Constructor for class org.wamblee.security.authorization.DeleteOperation
Constructs the operation.

E

encode(Operation[]) - Method in class org.wamblee.security.authorization.DefaultOperationRegistry
 
encode(Operation[]) - Method in interface org.wamblee.security.authorization.OperationRegistry
Converts a number of operations to a string.
equals(Object) - Method in class org.wamblee.security.authentication.Group
 
equals(Object) - Method in class org.wamblee.security.authentication.User
 

F

find(String) - Method in interface org.wamblee.security.authentication.GroupSet
Finds the group by name.
find(String) - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
find(String) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
find(String) - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
find(String) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
find(String) - Method in interface org.wamblee.security.authentication.UserSet
Finds user.

G

getAuthorizationResultString() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
Gets the authorization result for OR mapping.
getCurrentUser() - Method in class org.wamblee.security.authentication.JaasUserAccessor
 
getCurrentUser() - Method in interface org.wamblee.security.authentication.UserAccessor
Gets the current user.
getGroup() - Method in exception org.wamblee.security.authentication.UserMgtException
Gets the group for which the problem occured.
getGroup() - Method in class org.wamblee.security.authorization.GroupUserCondition
 
getGroupCount() - Method in interface org.wamblee.security.authentication.UserAdministration
 
getGroupCount() - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
getGroups() - Method in class org.wamblee.security.authentication.User
Gets the groups the user belongs to.
getGroups() - Method in interface org.wamblee.security.authentication.UserAdministration
Gets all groups.
getGroups(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Gets all groups for a given user.
getGroups() - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
getGroups(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
getMappedRules() - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
For OR mapping.
getName() - Method in class org.wamblee.security.authentication.Group
Gets the name of the group.
getName() - Method in class org.wamblee.security.authentication.User
 
getName() - Method in class org.wamblee.security.authorization.AbstractAuthorizationService
 
getName() - Method in class org.wamblee.security.authorization.AllOperation
 
getName() - Method in interface org.wamblee.security.authorization.Operation
Gets the name of the operation.
getOperation() - Method in exception org.wamblee.security.authorization.AuthorizationException
 
getOperationCondition() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
getOperations(Class) - Method in class org.wamblee.security.authorization.DefaultOperationRegistry
 
getOperations(Class) - Method in interface org.wamblee.security.authorization.OperationRegistry
Gets the supported operations for a given resource class.
getOperationString() - Method in class org.wamblee.security.authorization.IsaOperationCondition
Gets the operation as a string.
getPasswordString() - Method in class org.wamblee.security.authentication.User
For OR mapping.
getPathCondition() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
getPattern() - Method in class org.wamblee.security.authorization.RegexpPathCondition
 
getPrimaryKey() - Method in class org.wamblee.security.authentication.Group
 
getPrimaryKey() - Method in class org.wamblee.security.authentication.User
 
getReason() - Method in exception org.wamblee.security.authentication.UserMgtException
Gets the cause of the problem.
getResource() - Method in exception org.wamblee.security.authorization.AuthorizationException
 
getResourceClassName() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
getResourcePath(Object) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
Gets the path of the resource.
getRules() - Method in interface org.wamblee.security.authorization.AuthorizationService
Gets the authorization rules.
getRules() - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
getRules() - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
getSupportedTypes() - Method in interface org.wamblee.security.authorization.AuthorizationRule
Returns the supported object types for which this authorization rule applies.
getSupportedTypes() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
getUser() - Method in exception org.wamblee.security.authentication.UserMgtException
Gets the user for which the problem occurred.
getUserCondition() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
getUserCount() - Method in interface org.wamblee.security.authentication.UserAdministration
 
getUserCount() - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
getUsers() - Method in interface org.wamblee.security.authentication.UserAdministration
Get the users.
getUsers(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Gets the users for a given group.
getUsers() - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
getUsers(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
Group - Class in org.wamblee.security.authentication
Represents a group.
Group(Group) - Constructor for class org.wamblee.security.authentication.Group
Creates a new Group object.
Group() - Constructor for class org.wamblee.security.authentication.Group
Creates a new Group object.
groupModified(Group) - Method in interface org.wamblee.security.authentication.GroupSet
Must be called when the group has been modified to notify the group set.
groupModified(Group) - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
groupModified(Group) - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
GroupSet - Interface in org.wamblee.security.authentication
Represents a set of groups.
GroupUserCondition - Class in org.wamblee.security.authorization
Checks if a user against a specific group.
GroupUserCondition(String) - Constructor for class org.wamblee.security.authorization.GroupUserCondition
Constructs the condition.
GroupUserCondition() - Constructor for class org.wamblee.security.authorization.GroupUserCondition
For OR mapping.

H

hash(String) - Method in class org.wamblee.security.authentication.Md5HexMessageDigester
 
hash(String) - Method in interface org.wamblee.security.authentication.MessageDigester
Computes a message digest for a value and encodes it in some way.
hashCode() - Method in class org.wamblee.security.authentication.Group
 
hashCode() - Method in class org.wamblee.security.authentication.User
 

I

ID_PATTERN - Static variable in class org.wamblee.security.authentication.RegexpNameValidator
Convenience pattern for an id.
InMemoryGroupSet - Class in org.wamblee.security.authentication
In-memory group set implementation.
InMemoryGroupSet() - Constructor for class org.wamblee.security.authentication.InMemoryGroupSet
Constructs an empty group set.
InMemoryUserSet - Class in org.wamblee.security.authentication
In-memory user set.
InMemoryUserSet(NameValidator, MessageDigester) - Constructor for class org.wamblee.security.authentication.InMemoryUserSet
Constructs an empty user set.
insertRuleAfter(int, AuthorizationRule) - Method in interface org.wamblee.security.authorization.AuthorizationService
Inserts a rule.
insertRuleAfter(int, AuthorizationRule) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
insertRuleAfter(int, AuthorizationRule) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
isAllowed(Object, Operation, String) - Method in interface org.wamblee.security.authorization.AuthorizationRule
Determines whether an operation is allowed on a certain resource.
isAllowed(Object, Operation) - Method in interface org.wamblee.security.authorization.AuthorizationService
Checks whether an operation is allowed on a resource.
isAllowed(Object, Operation) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
isAllowed(Object, Operation) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
isAllowed(Object, Operation, String) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
isAllowedWithPath(String, Operation, String) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
Determines if the operation is allowed on the resource.
IsaOperationCondition - Class in org.wamblee.security.authorization
Determiens if an operation is a subclass of a specified operation.
IsaOperationCondition(Class<? extends Operation>) - Constructor for class org.wamblee.security.authorization.IsaOperationCondition
Constructs the condition.
IsaOperationCondition() - Constructor for class org.wamblee.security.authorization.IsaOperationCondition
For OR mapping.
isInGroup(Group) - Method in class org.wamblee.security.authentication.User
Checks whether the user belongs to the given group.
isInGroup(String) - Method in class org.wamblee.security.authentication.User
Checks whether the user belongs to the given group.
isInGroup(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Checks if the user belongs to the given group.
isInGroup(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 

J

JaasUserAccessor - Class in org.wamblee.security.authentication
Implementation of the user accessor that retrieves user information from JAAS.
JaasUserAccessor(String) - Constructor for class org.wamblee.security.authentication.JaasUserAccessor
Constructs user accessor.
JpaAuthorizationService - Class in org.wamblee.security.authorization.jpa
Authorization service with persistent storage.
JpaAuthorizationService(String, EntityManager, UserAccessor, UserAdministration, long) - Constructor for class org.wamblee.security.authorization.jpa.JpaAuthorizationService
Constructs the persistent service.
JpaGroupSet - Class in org.wamblee.security.authentication.jpa
Group set backed by the database.
JpaGroupSet(EntityManager) - Constructor for class org.wamblee.security.authentication.jpa.JpaGroupSet
Constructs the group set.
JpaUserSet - Class in org.wamblee.security.authentication.jpa
User set backed by the database.
JpaUserSet(Cache<String, User>, NameValidator, MessageDigester, EntityManager) - Constructor for class org.wamblee.security.authentication.jpa.JpaUserSet
Constructs a user set backed by the database.

L

list() - Method in interface org.wamblee.security.authentication.GroupSet
Returns the current groups.
list() - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
list() - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
list(Group) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
list() - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
list() - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
list(Group) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
list() - Method in interface org.wamblee.security.authentication.UserSet
Lists the current users.
list(Group) - Method in interface org.wamblee.security.authentication.UserSet
Lists the users belonging to a particular group.

M

matches(String) - Method in class org.wamblee.security.authorization.AnyUserCondition
 
matches(String) - Method in class org.wamblee.security.authorization.GroupUserCondition
 
matches(Operation) - Method in class org.wamblee.security.authorization.IsaOperationCondition
 
matches(Operation) - Method in interface org.wamblee.security.authorization.OperationCondition
Determines if the operation matches.
matches(String) - Method in interface org.wamblee.security.authorization.PathCondition
Checks if the path matches the condition.
matches(String) - Method in class org.wamblee.security.authorization.RegexpPathCondition
 
matches(String) - Method in interface org.wamblee.security.authorization.UserCondition
Determines if the condition matches.
Md5HexMessageDigester - Class in org.wamblee.security.authentication
MD5 Hex encoder.
Md5HexMessageDigester() - Constructor for class org.wamblee.security.authentication.Md5HexMessageDigester
Constructs the message digester.
MessageDigester - Interface in org.wamblee.security.authentication
Utility class that encapsulates a message digest method.

N

NAME_PARAM - Static variable in class org.wamblee.security.authentication.Group
 
NAME_PARAM - Static variable in class org.wamblee.security.authentication.User
 
NAME_PARAM - Static variable in class org.wamblee.security.authorization.AbstractAuthorizationService
 
NameValidator - Interface in org.wamblee.security.authentication
Validator of names.

O

Operation - Interface in org.wamblee.security.authorization
Represents an operation on a resource.
OperationCondition - Interface in org.wamblee.security.authorization
Checks if an operation matches a condition.
OperationRegistry - Interface in org.wamblee.security.authorization
Utility to map between a list of operations and a string based on the names of the operations.
org.wamblee.security.authentication - package org.wamblee.security.authentication
This package provides support for managing users and their authentication.
org.wamblee.security.authentication.jpa - package org.wamblee.security.authentication.jpa
 
org.wamblee.security.authorization - package org.wamblee.security.authorization
The authorization package provides an authorization service that can be used to check whether users have the rights to perform certain operations.
org.wamblee.security.authorization.jpa - package org.wamblee.security.authorization.jpa
 

P

PASSWORD_PATTERN - Static variable in class org.wamblee.security.authentication.RegexpNameValidator
Convenience pattern for a password consisting of at least 6 characters.
PathCondition - Interface in org.wamblee.security.authorization
Checks if a path satisfies a condition.

Q

QUERY_ALL_GROUPS - Static variable in class org.wamblee.security.authentication.Group
 
QUERY_ALL_USERS - Static variable in class org.wamblee.security.authentication.User
 
QUERY_COUNT_GROUPS - Static variable in class org.wamblee.security.authentication.Group
 
QUERY_COUNT_USERS - Static variable in class org.wamblee.security.authentication.User
 
QUERY_FIND_BY_GROUP_NAME - Static variable in class org.wamblee.security.authentication.User
 
QUERY_FIND_BY_NAME - Static variable in class org.wamblee.security.authentication.Group
 
QUERY_FIND_BY_NAME - Static variable in class org.wamblee.security.authentication.User
 
QUERY_FIND_BY_NAME - Static variable in class org.wamblee.security.authorization.AbstractAuthorizationService
 

R

ReadOperation - Class in org.wamblee.security.authorization
Represents a read operation on a resource.
ReadOperation() - Constructor for class org.wamblee.security.authorization.ReadOperation
Constructs the operation.
RegexpNameValidator - Class in org.wamblee.security.authentication
Validation of names based on a regular expression.
RegexpNameValidator(String, UserMgtException.Reason, String) - Constructor for class org.wamblee.security.authentication.RegexpNameValidator
Validates a regular expression.
RegexpNameValidator(String, String, String) - Constructor for class org.wamblee.security.authentication.RegexpNameValidator
Convenience constructor with all string parameters.
RegexpPathCondition - Class in org.wamblee.security.authorization
Condition to check whether a path matches a given regula expression.
RegexpPathCondition(String) - Constructor for class org.wamblee.security.authorization.RegexpPathCondition
Constructs the condition.
RegexpPathCondition() - Constructor for class org.wamblee.security.authorization.RegexpPathCondition
For OR mapping.
remove(Group) - Method in interface org.wamblee.security.authentication.GroupSet
Removes a group.
remove(Group) - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
remove(User) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
remove(Group) - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
remove(User) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
remove(User) - Method in interface org.wamblee.security.authentication.UserSet
Removes a user.
removeGroup(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Removes the group.
removeGroup(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
removeRule(int) - Method in interface org.wamblee.security.authorization.AuthorizationService
Removes a rule.
removeRule(int) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
removeRule(int) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
removeUser(String) - Method in interface org.wamblee.security.authentication.UserAdministration
Removes the user.
removeUser(String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
removeUserFromGroup(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Removes a user from a group.
removeUserFromGroup(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
renameGroup(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Renames a group.
renameGroup(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
renameUser(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
Renames a user.
renameUser(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 

S

setAuthorizationResultString(String) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
Sets the authorization result, for OR mapping.
setGroup(String) - Method in class org.wamblee.security.authorization.GroupUserCondition
 
setMappedRules(List<AuthorizationRule>) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
For OR mapping.
setOperationCondition(OperationCondition) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
setOperationString(String) - Method in class org.wamblee.security.authorization.IsaOperationCondition
Sets the operation as a string.
setPassword(String) - Method in class org.wamblee.security.authentication.User
 
setPassword(String, String) - Method in interface org.wamblee.security.authentication.UserAdministration
 
setPassword(String, String) - Method in class org.wamblee.security.authentication.UserAdministrationImpl
 
setPasswordEncoder(MessageDigester) - Method in class org.wamblee.security.authentication.User
Sets the password encoder.
setPasswordInfo(User) - Method in class org.wamblee.security.authentication.AbstractUserSet
Sets the password validtor and encoder in the user.
setPasswordString(String) - Method in class org.wamblee.security.authentication.User
For OR mapping.
setPasswordValidator(NameValidator) - Method in class org.wamblee.security.authentication.User
Sets the password validator.
setPathCondition(PathCondition) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
setPattern(String) - Method in class org.wamblee.security.authorization.RegexpPathCondition
 
setPrimaryKey(Long) - Method in class org.wamblee.security.authentication.Group
 
setResourceClassName(String) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
setUserAccessor(UserAccessor) - Method in interface org.wamblee.security.authorization.AuthorizationService
Sets the user accessor so that the authorization service can get access to the logged in user.
setUserAccessor(UserAccessor) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
setUserAccessor(UserAccessor) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
setUserAdmin(UserAdministration) - Method in class org.wamblee.security.authorization.AnyUserCondition
 
setUserAdmin(UserAdministration) - Method in class org.wamblee.security.authorization.GroupUserCondition
 
setUserAdmin(UserAdministration) - Method in interface org.wamblee.security.authorization.UserCondition
Sets the user administration object.
setUserAdministration(UserAdministration) - Method in interface org.wamblee.security.authorization.AuthorizationRule
Sets the user admnistration to use.
setUserAdministration(UserAdministration) - Method in interface org.wamblee.security.authorization.AuthorizationService
Sets the user administration so that the authorization service can check information for the the current user.
setUserAdministration(UserAdministration) - Method in class org.wamblee.security.authorization.DefaultAuthorizationService
 
setUserAdministration(UserAdministration) - Method in class org.wamblee.security.authorization.jpa.JpaAuthorizationService
 
setUserAdministration(UserAdministration) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
setUserCondition(UserCondition) - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 
size() - Method in interface org.wamblee.security.authentication.GroupSet
 
size() - Method in class org.wamblee.security.authentication.InMemoryGroupSet
 
size() - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
size() - Method in class org.wamblee.security.authentication.jpa.JpaGroupSet
 
size() - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
size() - Method in interface org.wamblee.security.authentication.UserSet
 
StartsWithPathCondition - Class in org.wamblee.security.authorization
Condition to check whether a path starts with a given string.
StartsWithPathCondition(String) - Constructor for class org.wamblee.security.authorization.StartsWithPathCondition
Constructs the condition.
StartsWithPathCondition() - Constructor for class org.wamblee.security.authorization.StartsWithPathCondition
For OR mapping.

T

toString() - Method in class org.wamblee.security.authentication.Group
 
toString() - Method in class org.wamblee.security.authentication.User
 
toString() - Method in class org.wamblee.security.authorization.AnyUserCondition
 
toString() - Method in class org.wamblee.security.authorization.GroupUserCondition
 
toString() - Method in class org.wamblee.security.authorization.IsaOperationCondition
 
toString() - Method in class org.wamblee.security.authorization.RegexpPathCondition
 
toString() - Method in class org.wamblee.security.authorization.StartsWithPathCondition
 
toString() - Method in class org.wamblee.security.authorization.UrlAuthorizationRule
 

U

UrlAuthorizationRule - Class in org.wamblee.security.authorization
Utility base class for implementation of authentication rules based on the The path of the resource.
UrlAuthorizationRule(AuthorizationResult, UserCondition, PathCondition, Class, OperationCondition) - Constructor for class org.wamblee.security.authorization.UrlAuthorizationRule
Constructs an authorization rule.
UrlAuthorizationRule(Class) - Constructor for class org.wamblee.security.authorization.UrlAuthorizationRule
For OR mapping.
UrlAuthorizationRule() - Constructor for class org.wamblee.security.authorization.UrlAuthorizationRule
For OR mapping.
User - Class in org.wamblee.security.authentication
Represents a user.
User(User) - Constructor for class org.wamblee.security.authentication.User
Creates a new User object.
UserAccessor - Interface in org.wamblee.security.authentication
Interface for accessing the currently logged in user.
UserAdminInitializer - Class in org.wamblee.security.authentication
User administration initializer.
UserAdminInitializer(UserAdministration, String[], String[], String[]) - Constructor for class org.wamblee.security.authentication.UserAdminInitializer
Initializes the user administration in case no users are present.
UserAdministration - Interface in org.wamblee.security.authentication
Interface for user administration.
UserAdministrationImpl - Class in org.wamblee.security.authentication
Administration of users and groups.
UserAdministrationImpl(UserSet, GroupSet, NameValidator, NameValidator) - Constructor for class org.wamblee.security.authentication.UserAdministrationImpl
Constructs empty user administration.
UserCondition - Interface in org.wamblee.security.authorization
Condition used to match a user against a specified set of users.
UserMgtException - Exception in org.wamblee.security.authentication
User management exception.
UserMgtException(UserMgtException.Reason, String) - Constructor for exception org.wamblee.security.authentication.UserMgtException
Creates a new UserMgtException object.
UserMgtException(UserMgtException.Reason, User) - Constructor for exception org.wamblee.security.authentication.UserMgtException
Creates a new UserMgtException object.
UserMgtException(UserMgtException.Reason, Group) - Constructor for exception org.wamblee.security.authentication.UserMgtException
Creates a new UserMgtException object.
UserMgtException(UserMgtException.Reason, User, Group) - Constructor for exception org.wamblee.security.authentication.UserMgtException
Creates a new UserMgtException object.
UserMgtException.Reason - Enum in org.wamblee.security.authentication
Possible causes for the exception.
userModified(User) - Method in class org.wamblee.security.authentication.InMemoryUserSet
 
userModified(User) - Method in class org.wamblee.security.authentication.jpa.JpaUserSet
 
userModified(User) - Method in interface org.wamblee.security.authentication.UserSet
Must be called whenever a user object has been modified to notify the user set.
UserSet - Interface in org.wamblee.security.authentication
Represents a set of users.

V

validate(String) - Method in interface org.wamblee.security.authentication.NameValidator
Validates a name.
validate(String) - Method in class org.wamblee.security.authentication.RegexpNameValidator
 
valueOf(String) - Static method in enum org.wamblee.security.authentication.UserMgtException.Reason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.wamblee.security.authorization.AuthorizationResult
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wamblee.security.authentication.UserMgtException.Reason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.wamblee.security.authorization.AuthorizationResult
Returns an array containing the constants of this enum type, in the order they are declared.

W

WriteOperation - Class in org.wamblee.security.authorization
Represents a write operation on a resource.
WriteOperation() - Constructor for class org.wamblee.security.authorization.WriteOperation
Constructs the operation.
A C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2022. All rights reserved.