- 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.
- 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.
- 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.