A C D E G H I L M N O P R S T U V _

A

ACL - Interface in org.benow.security
 
addListener(SecurityAdministratorListener) - Method in class org.benow.security.SecurityAdministratorImpl
protected abstract void validateAdministrator(String name, String password) throws SecurityException;
addPermission(Permission) - Method in interface org.benow.security.permission.PermissionGroup
adds a given permission to this role
addPermission(String) - Method in interface org.benow.security.permission.PermissionGroup
adds a given permission to this role
addPermission(Class, String) - Method in interface org.benow.security.permission.PermissionGroup
adds a given permission to this role
addPermission(Permission) - Method in interface org.benow.security.permission.Role
 
addPermission(Permission) - Method in interface org.benow.security.user.User
 
addPrincipal(Principal) - Method in class org.benow.security.user.Subject
Deprecated.  
addRole(Role) - Method in interface org.benow.security.user.User
 
addUserModule(UserModule) - Method in interface org.benow.security.user.User
 
admin - Static variable in class org.benow.security.SecureObject
 
adminName - Static variable in class org.benow.security.SecurityAdministratorImpl
 
assertOnePermission(Permission...) - Method in class org.benow.security.SecureObject
 
assertPermission() - Method in class org.benow.java.spec.SecureMethodSpecification
 
assertPermission() - Method in interface org.benow.security.permission.Permission
Assert this permission, throwing security exception if no permission.
assertPermission(String, String...) - Method in class org.benow.security.SecureObject
 
assertPermission(Permission) - Method in class org.benow.security.SecureObject
 
assertPermission(Permission) - Static method in class org.benow.security.Security
 
assertPermission(Permission) - Static method in class org.benow.security.user.SecureThread
 
assertPermission(Class, String) - Static method in class org.benow.security.user.Subject
Deprecated.  
assertPermission(Permission) - Static method in class org.benow.security.user.Subject
Deprecated.  
assertPermission(Permission) - Static method in class org.benow.security.user.SubjectThread
Deprecated. Asserts the given permission on the current associated user.
Assignable - Interface in org.benow.security.user
Assignable.java
assignTo(User) - Method in interface org.benow.security.user.Assignable
Assigns this assignable to a user
authenticate(String, String) - Static method in class org.benow.security.Security
 
authenticate(String, String, String) - Static method in class org.benow.security.Security
 
authenticate(String, String, String) - Method in interface org.benow.security.SecurityAdministrator
Authenticate the given user with the given password for the given application (optionally implemented).
authenticate(String, String) - Method in interface org.benow.security.SecurityAdministrator
Authenticated user in default application
authenticate(String, String, String) - Method in class org.benow.security.SecurityAdministratorImpl
Authenticates user.
authenticate(String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 

C

canHandle(Class<?>) - Method in class org.benow.security.user.UserModuleHandler
 
CFG_ADMINISTRATOR_CLASS - Static variable in class org.benow.security.Security
 
CFG_DEFAULT_LANGUAGE - Static variable in interface org.benow.security.user.LanguageUserModule
 
checkPermission(Permission) - Method in interface org.benow.security.permission.PermissionCheckable
checks to see if this role has the given permission.
checkPermission(String) - Method in interface org.benow.security.permission.PermissionCheckable
Creates a default permission with the given name and checks for it's existence.
checkPermission(String, String) - Method in interface org.benow.security.permission.PermissionCheckable
Creates a default permission with the given name and params and checks for it's existence.
checkPermission(Permission) - Method in interface org.benow.security.permission.Role
 
checkPermission(Permission) - Method in class org.benow.security.user.Subject
Deprecated. Checks the permissions within each of the principals contained within this subject
checkPermission(String) - Method in class org.benow.security.user.Subject
Deprecated.  
checkPermission(String, String) - Method in class org.benow.security.user.Subject
Deprecated.  
checkPermission(Permission) - Method in interface org.benow.security.user.User
 
checkPermission(String) - Method in interface org.benow.security.user.User
 
checkPermission(String, String) - Method in interface org.benow.security.user.User
 
checkPermission(Class<?>, String) - Method in interface org.benow.security.user.User
Checks a named permission from a given class Convenience method for checkPermission(holderClass.getName()+"."+name);
checkRole(Role) - Method in interface org.benow.security.user.User
 
containsPermission(Permission) - Method in interface org.benow.security.permission.Role
 
createDefault() - Method in interface org.benow.security.user.UserModuleResolver
 
createPermission(Class, String) - Method in interface org.benow.security.permission.PermissionAdministrator
Create a permission with the given prefix and suffix
createPermission(String) - Method in interface org.benow.security.SecurityAdministrator
 
createPermission(Class<?>, String) - Method in interface org.benow.security.SecurityAdministrator
 
createPermission(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
createPermission(Class<?>, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
createPermission(Class<?>, String, String[]) - Method in class org.benow.security.SecurityAdministratorImpl
 
createRole(String, String) - Method in interface org.benow.security.permission.PermissionAdministrator
Create a new template, a named collection of permissions that can be used to initially provide permissions for a new user.
createRole(String) - Static method in class org.benow.security.Security
 
createRole(Package) - Method in interface org.benow.security.SecurityAdministrator
 
createRole(String, String) - Method in interface org.benow.security.SecurityAdministrator
 
createRole(String) - Method in interface org.benow.security.SecurityAdministrator
Create a role with the given name
createRole(Package) - Method in class org.benow.security.SecurityAdministratorImpl
 
createRole(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
createRole(String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
createSecureRunner(User) - Static method in class org.benow.security.Security
 
createSecureThread(String, Runnable) - Static method in class org.benow.security.Security
 
createSecureThread(User, Runnable) - Static method in class org.benow.security.Security
 
createThread() - Method in class org.benow.security.user.SubjectThread
Deprecated. Override default thread with thread which has reference to this SubjectThread (which is actually not a thread, but a runnable...).
createUser(String) - Static method in class org.benow.security.Security
 
createUser(String) - Method in interface org.benow.security.SecurityAdministrator
Creates a new user with the given name.
createUser(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
createUser(String, String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
currentPrincipal() - Static method in class org.benow.security.user.Subject
Deprecated. Gets the current principal for the currently executing thread.
currentThread() - Static method in class org.benow.security.user.SubjectThread
Deprecated.  
currentUser() - Static method in class org.benow.security.Security
Synonym for get current user

D

declareLocalPermission(String) - Static method in class org.benow.security.Security
Creates a permission local to the calling class (if called during initial field assignment) with given suffix
declarePermission(Class, String) - Method in interface org.benow.security.permission.PermissionAdministrator
Create a permission, indicating the permission is valid, remembered and can be enforced.
declarePermission(Class, String) - Static method in class org.benow.security.SecureObject
 
declarePermission(Class<?>, String) - Method in interface org.benow.security.SecurityAdministrator
Create a permission, ensuring it exists and is remembered.
declarePermission(Class<?>, String, String[]) - Method in interface org.benow.security.SecurityAdministrator
 
declarePermission(Permission) - Method in interface org.benow.security.SecurityAdministrator
ensures the given permission is known and remembered.
declarePermission(String) - Method in interface org.benow.security.SecurityAdministrator
Creates a permission with the given name.
declarePermission(Class<?>, String) - Method in class org.benow.security.SecurityAdministratorImpl
Override to persist permission
declarePermission(Class<?>, String, String[]) - Method in class org.benow.security.SecurityAdministratorImpl
 
declarePermission(Permission) - Method in class org.benow.security.SecurityAdministratorImpl
Override to persist permission
declarePermission(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
declareViewPermission(String[]) - Method in class org.benow.security.SecureObject
 
declareViewPermission(String) - Method in class org.benow.security.SecureObject
 
DEFAULT_ADMIN_PASSWORD - Static variable in interface org.benow.security.SecurityAdministrator
 
DEFAULT_USER_NAME - Static variable in interface org.benow.security.SecurityAdministrator
 
delegates - Variable in class org.benow.security.session.SessionManager
 
deleteRole(Role) - Method in interface org.benow.security.SecurityAdministrator
Deletes the given user
deleteUser(String) - Method in interface org.benow.security.SecurityAdministrator
Deletes the user with the given name
deleteUser(User) - Method in interface org.benow.security.SecurityAdministrator
Deletes the given user.
deleteUser(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
doAs(User, MessyRunnable) - Static method in class org.benow.security.user.Subject
Deprecated. Do the given action as the given subject.
doAs(User, MessyRunnable, boolean) - Static method in class org.benow.security.user.Subject
Deprecated. perform the given action as the given subject, infoming the given listener.
doAs(User, MessyRunnable) - Method in class org.benow.security.user.SubjectThread
Deprecated. Performs the given action as the given principal (Subject, User, Principal, etc).
doAs(User, MessyRunnable, SubjectThreadListener) - Method in class org.benow.security.user.SubjectThread
Deprecated.  
doAuthenticate(String, String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
doCreateUser(String) - Method in class org.benow.security.SecurityAdministratorImpl
 
doGetUserByEmail(String) - Method in interface org.benow.security.SecurityAdministrator
Get user with given email
doInit() - Method in class org.benow.security.SecurityAdministratorImpl
 
DummyCallbackHandler - Class in org.benow.security.jaas
Provides a local loopback for authentication.
DummyCallbackHandler(String, String) - Constructor for class org.benow.security.jaas.DummyCallbackHandler
 

E

ensureAdminRolePermissions(Class<?>, String[]) - Method in interface org.benow.security.SecurityAdministrator
Ensures the existence of the given permissions within an appropriate admin role for the class.
ensureAdminRolePermissions(Class<?>, String[]) - Method in class org.benow.security.SecurityAdministratorImpl
Ensures the existence of the given permissions within an appropriate admin role for the class.
equals(Object) - Method in interface org.benow.security.session.SessionKey
 
exec() - Method in class org.benow.security.user.SubjectThread
Deprecated.  
expire() - Method in interface org.benow.security.session.Session
 
expire() - Method in class org.benow.security.session.SessionImpl
 

G

getACL() - Method in interface org.benow.security.Secured
 
getAdministrator() - Static method in class org.benow.security.Security
 
getAdministratorUser() - Method in interface org.benow.security.SecurityAdministrator
 
getAdministratorUser() - Method in class org.benow.security.SecurityAdministratorImpl
 
getAdminUser() - Static method in class org.benow.security.Security
 
getAssignedTo() - Method in interface org.benow.security.user.Assignable
Gets who this assignable has been assigned to
getAssignmentDate() - Method in interface org.benow.security.user.Assignable
Gets when this assignable was assigned.
getAttribute(String) - Method in interface org.benow.security.session.Session
 
getAttribute(String) - Method in class org.benow.security.session.SessionImpl
 
getClassesWithPermissionsInPackage(String) - Method in interface org.benow.security.SecurityAdministrator
Gets a list of classes within the given named package which have permissions
getCreationDate() - Method in interface org.benow.security.session.Session
 
getCreationDate() - Method in class org.benow.security.session.SessionImpl
 
getCurrentUser() - Static method in class org.benow.security.Security
 
getCurrentUser() - Static method in class org.benow.security.user.SubjectThread
Deprecated.  
getDeclarator() - Method in interface org.benow.security.permission.Permission
Gets the class in which this permission is declared.
getDeclaredRoles() - Method in class org.benow.security.SecurityAdministratorImpl
 
getDeclaringPackage() - Method in interface org.benow.security.permission.PermissionedPackage
 
getDefaultClassesWithPermissions() - Method in interface org.benow.security.SecurityAdministrator
Gets a list of classes within default package which have permissions
getDefaultUser() - Static method in class org.benow.security.Security
 
getDefaultUser() - Method in interface org.benow.security.SecurityAdministrator
 
getDefaultUser() - Method in class org.benow.security.SecurityAdministratorImpl
 
getDescription() - Method in interface org.benow.security.permission.Permission
 
getDescription() - Method in interface org.benow.security.user.User
 
getEmail() - Method in interface org.benow.security.user.User
 
getForClass() - Method in interface org.benow.security.permission.PermissionedClass
Gets the underlying class which has permissions.
getGroup() - Method in interface org.benow.security.Secured
gets the group associated with this object
getGroupAbilities() - Method in interface org.benow.security.Secured
 
getInstance() - Static method in class org.benow.security.session.SessionManager
 
getKey() - Method in interface org.benow.security.session.Session
 
getKey() - Method in class org.benow.security.session.SessionImpl
 
getLanguage() - Method in interface org.benow.security.user.LanguageUserModule
 
getLanguageShort() - Method in interface org.benow.security.user.LanguageUserModule
 
getModificationDate() - Method in interface org.benow.security.session.Session
 
getModificationDate() - Method in class org.benow.security.session.SessionImpl
 
getModuleByClass(Class<?>) - Method in interface org.benow.security.user.User
gets module of given class, if module does not exist is created.
getName() - Method in interface org.benow.security.Group
 
getName() - Method in interface org.benow.security.group.Group
 
getName() - Method in interface org.benow.security.permission.Permission
Gets the name of this permission
getName() - Method in interface org.benow.security.permission.PermissionedClass
 
getName() - Method in interface org.benow.security.permission.PermissionedPackage
 
getName() - Method in interface org.benow.security.permission.Role
 
getName() - Method in class org.benow.security.user.Subject
Deprecated.  
getName() - Method in interface org.benow.security.user.User
 
getOwner() - Method in interface org.benow.security.Secured
Owner is the creator of the object, unless the admin otherwise changes.
getOwner() - Method in interface org.benow.security.user.Owned
 
getOwner() - Method in interface org.benow.security.user.UserModule
 
getPackageNamesWithPermissions(String) - Method in interface org.benow.security.SecurityAdministrator
 
getPackageNamesWithPermissions() - Method in interface org.benow.security.SecurityAdministrator
 
getParams() - Method in interface org.benow.security.permission.Permission
gets the params for this permission (if any)
getPassword() - Method in interface org.benow.security.user.User
optionally implemented
getPermission() - Method in class org.benow.java.spec.SecureMethodSpecification
 
getPermissionClass() - Method in interface org.benow.security.permission.PermissionAdministrator
Gets the Class for permissions.
getPermissionedClasses() - Method in interface org.benow.security.permission.PermissionedPackage
 
getPermissionedPackage() - Method in interface org.benow.security.permission.PermissionedClass
 
getPermissionFor(String) - Method in interface org.benow.security.permission.PermissionAdministrator
Gets the permission with the given name, throwing SecurityException if no named permission is found
getPermissionFor(String, String) - Method in interface org.benow.security.permission.PermissionAdministrator
Gets the permission with the given name and value, throwing SecurityException if no named permission is found
getPermissionFor(String, String) - Method in interface org.benow.security.SecurityAdministrator
 
getPermissionFor(String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
getPermissions() - Method in interface org.benow.security.permission.PermissionedClass
 
getPermissions() - Method in interface org.benow.security.permission.Role
 
getPermissions() - Method in interface org.benow.security.SecurityAdministrator
 
getPermissions() - Method in interface org.benow.security.user.User
Gets permissions directly associated with the user.
getPermissionsForClass(Class<?>) - Method in interface org.benow.security.SecurityAdministrator
Gets permissions declared in the given class.
getRegisteredTemplateUser() - Method in interface org.benow.security.SecurityAdministrator
 
getRegisteredTemplateUser() - Method in class org.benow.security.SecurityAdministratorImpl
 
getRole(String) - Static method in class org.benow.security.Security
 
getRole(Package) - Method in interface org.benow.security.SecurityAdministrator
Gets the admin role for the give pkg, creating if neccesary.
getRole(String) - Method in interface org.benow.security.SecurityAdministrator
Gets the declared role of the given name.
getRole(Package) - Method in class org.benow.security.SecurityAdministratorImpl
Gets the admin role for the give pkg, creating if neccesary.
getRole(String) - Method in class org.benow.security.SecurityAdministratorImpl
Gets the declared role of the given name.
getRoles() - Method in interface org.benow.security.permission.Permission
gets the roles which contain this permission
getRoles() - Static method in class org.benow.security.Security
 
getRoles() - Method in interface org.benow.security.SecurityAdministrator
Get all declared roles.
getRoles() - Method in interface org.benow.security.user.User
 
getSession(SessionKey) - Method in class org.benow.security.session.SessionManager
 
getSession(SessionKey, boolean) - Method in class org.benow.security.session.SessionManager
 
getSessionForUser(User) - Method in class org.benow.security.session.SessionManager
 
getSessions() - Method in class org.benow.security.session.SessionManager
 
getTemplate(String) - Method in interface org.benow.security.permission.PermissionAdministrator
Gets the declared permission template of the given name.
getTemplateClass() - Method in interface org.benow.security.permission.PermissionAdministrator
Gets the Class for templates.
getTemplates() - Method in interface org.benow.security.permission.PermissionAdministrator
Get all registered templates
getUser() - Method in interface org.benow.security.session.Session
 
getUser() - Method in class org.benow.security.session.SessionImpl
 
getUser() - Static method in class org.benow.security.user.SecureThread
 
getUser() - Method in class org.benow.security.user.SubjectThread
Deprecated.  
getUserAbilities() - Method in interface org.benow.security.Secured
 
getUserByEmail(String) - Static method in class org.benow.security.Security
 
getUserByModuleKey(Class<?>, Object) - Method in interface org.benow.security.SecurityAdministrator
 
getUserByName(String) - Static method in class org.benow.security.Security
 
getUserByName(String) - Method in interface org.benow.security.SecurityAdministrator
Gets the user with the given name from the default realm.
getUserByRealmAndName(String, String) - Method in interface org.benow.security.SecurityAdministrator
Gets the user with the given name within the given realm.
getUserModuleClass() - Method in interface org.benow.security.user.UserModuleResolver
 
getUserModuleClasses() - Method in interface org.benow.security.SecurityAdministrator
Gets the list of registered user module classes.
getUserModuleClasses() - Method in class org.benow.security.SecurityAdministratorImpl
 
getUsers() - Method in interface org.benow.security.Group
 
getUsers() - Method in interface org.benow.security.group.Group
 
getUsers() - Method in interface org.benow.security.permission.Role
 
getUsers() - Method in interface org.benow.security.Secured
Gets the users associated with this object
getUsers() - Method in interface org.benow.security.SecurityAdministrator
Method getUsers.
getUsers() - Method in interface org.benow.security.user.Used
 
Group - Interface in org.benow.security
 
Group - Interface in org.benow.security.group
 

H

handle(Callback[]) - Method in class org.benow.security.jaas.DummyCallbackHandler
 
handle(Class<?>) - Method in class org.benow.security.user.UserModuleHandler
 
hasModuleByClass(Class<?>) - Method in interface org.benow.security.user.User
 
hasPermission() - Method in interface org.benow.security.permission.Permission
Does the current user have this permission?
hasPermission(String) - Method in interface org.benow.security.permission.PermissionCheckable
Creates a new permission of the given name and returns it's existence.
hasPermission(Class, String) - Method in interface org.benow.security.permission.PermissionCheckable
 
hasPermission(String, String) - Method in interface org.benow.security.permission.PermissionCheckable
Creates a new permission of the given name and params and returns it's existence.
hasPermission(Permission) - Method in interface org.benow.security.permission.PermissionCheckable
Checks to see if the given permission has been granted.
hasPermission(Permission) - Static method in class org.benow.security.Security
Convenience method.
hasPermission(Class, String) - Method in class org.benow.security.user.Subject
Deprecated.  
hasPermission(Permission) - Method in class org.benow.security.user.Subject
Deprecated.  
hasPermission(String) - Method in class org.benow.security.user.Subject
Deprecated.  
hasPermission(String, String) - Method in class org.benow.security.user.Subject
Deprecated.  
hasPermission(Permission) - Static method in class org.benow.security.user.SubjectThread
Deprecated.  
hasPermission(String) - Method in interface org.benow.security.user.User
 
hasPermission(String, String) - Method in interface org.benow.security.user.User
 
hasPermission(Permission) - Method in interface org.benow.security.user.User
 
hasPermit(Permit) - Method in interface org.benow.security.ACL
 
hasRole(String) - Method in interface org.benow.security.user.User
 
hasRole(Role) - Method in interface org.benow.security.user.User
 

I

init() - Method in interface org.benow.security.SecurityAdministrator
Called to initialize administrator
init() - Method in class org.benow.security.SecurityAdministratorImpl
Override to do something after instantiation
init() - Method in interface org.benow.security.user.User
Initialize the user after create
introspectMethodSpec() - Method in class org.benow.java.spec.SecureMethodSpecification
Looks at a method and creates a method specification consisting of argument specifications.
invoke(Object, ArgumentContext) - Method in class org.benow.java.spec.SecureMethodSpecification
 
isAdministratorUser() - Static method in class org.benow.security.Security
 
isAssigned() - Method in interface org.benow.security.user.Assignable
Is this thing assigned to a user?
isConfirmed() - Method in interface org.benow.security.user.User
 
isDefaultUser() - Static method in class org.benow.security.Security
 

L

LanguageUserModule - Interface in org.benow.security.user
User module holding language info for user.
log - Static variable in class org.benow.java.spec.SecureMethodSpecification
 
log(String) - Static method in class org.benow.security.Security
Log a message to the security logger.
logout() - Static method in class org.benow.security.Security
 
logout() - Method in interface org.benow.security.SecurityAdministrator
Logout user associated with current thread
logout() - Method in class org.benow.security.SecurityAdministratorImpl
 
logout() - Static method in class org.benow.security.user.SecureThread
 

M

MustBeAnonymousException - Exception in org.benow.security
 
MustBeAnonymousException() - Constructor for exception org.benow.security.MustBeAnonymousException
 

N

NoSuchModuleException - Exception in org.benow.security.user
Thrown when trying to retrieve a user module by class which is not associated with the user.
NoSuchModuleException(User, Class) - Constructor for exception org.benow.security.user.NoSuchModuleException
 
NoSuchPermissionException - Exception in org.benow.security
security: org.benow.security.NoPermissionsException
NoSuchPermissionException(String) - Constructor for exception org.benow.security.NoSuchPermissionException
 
NoSuchRoleException - Exception in org.benow.security
security: org.benow.security.NoRoleException
NoSuchRoleException(String) - Constructor for exception org.benow.security.NoSuchRoleException
 
NoSuchUserException - Exception in org.benow.security
repository: org.benow.repository.security.NoSuchUserException
NoSuchUserException() - Constructor for exception org.benow.security.NoSuchUserException
 
NoSuchUserException(String) - Constructor for exception org.benow.security.NoSuchUserException
 
NoSuchUserWithModuleException - Exception in org.benow.security.user
security: org.benow.security.NoSuchUserWithModuleException
NoSuchUserWithModuleException(Class, Object) - Constructor for exception org.benow.security.user.NoSuchUserWithModuleException
 
notifyReload() - Method in class org.benow.security.SecurityAdministratorImpl
 
NotYetConfirmedException - Exception in org.benow.security
Thrown when a user tries to login who has not yet confirmed via email or otherwise.
NotYetConfirmedException(String) - Constructor for exception org.benow.security.NotYetConfirmedException
 

O

onDeclare(Permission) - Method in class org.benow.security.SecurityAdministratorImpl
Override for goodness.
onError(SubjectThread, Principal, MessyRunnable, Throwable) - Method in interface org.benow.security.user.SubjectThreadListener
 
onFinish(SubjectThread, Principal, MessyRunnable) - Method in interface org.benow.security.user.SubjectThreadListener
 
onReload(SecurityAdministrator) - Method in interface org.benow.security.SecurityAdministratorListener
When security is reloaded.
onScanEnd() - Method in class org.benow.security.user.UserModuleHandler
 
onScanStart() - Method in class org.benow.security.user.UserModuleHandler
 
org.benow.java.spec - package org.benow.java.spec
 
org.benow.security - package org.benow.security
BeNOW Security API
org.benow.security.group - package org.benow.security.group
 
org.benow.security.jaas - package org.benow.security.jaas
 
org.benow.security.permission - package org.benow.security.permission
 
org.benow.security.session - package org.benow.security.session
 
org.benow.security.user - package org.benow.security.user
 
org.benow.security.util - package org.benow.security.util
 
Owned - Interface in org.benow.security.user
 

P

Permission - Interface in org.benow.security.permission
A permission is belongs to a role which a user has.
Permission.AnonymousAccess - Annotation Type in org.benow.security.permission
Annotation to indicate that Anonymous users can invoke specific methods.
Permission.AnyUserAccess - Annotation Type in org.benow.security.permission
Annotation to indicate that any user can invoke the method.
Permission.RequiresPermission - Annotation Type in org.benow.security.permission
Indicates that a method requires a certain permission to be executed/discovered.
Permission.RestrictOnField - Annotation Type in org.benow.security.permission
Field within a param that is used to identify a restriction.
PermissionAdministrator - Interface in org.benow.security.permission
security: org.benow.security.PermissionAdministrator
PermissionCheckable - Interface in org.benow.security.permission
Objects that can validate permissions should implement this interface.
PermissionDeniedException - Exception in org.benow.security
 
PermissionDeniedException(String) - Constructor for exception org.benow.security.PermissionDeniedException
 
PermissionedClass - Interface in org.benow.security.permission
security: org.benow.security.permission.PermissionPackage
PermissionedPackage - Interface in org.benow.security.permission
security: org.benow.security.permission.PermissionPackage
PermissionGroup - Interface in org.benow.security.permission
 
Permit - Class in org.benow.security
 
Permit(String) - Constructor for class org.benow.security.Permit
 
prepForRun(Runner, User) - Static method in class org.benow.security.Security
 

R

REGISTERED_BOOTSTRAP - Static variable in interface org.benow.security.SecurityAdministrator
 
REGISTERED_USER_NAME - Static variable in interface org.benow.security.SecurityAdministrator
 
registerUserModuleClass(Class<UserModule>) - Method in interface org.benow.security.SecurityAdministrator
Registers a user module class that will be included in a user when a user is created
registerUserModuleClass(Class<UserModule>) - Method in class org.benow.security.SecurityAdministratorImpl
 
removePermission(Permission) - Method in interface org.benow.security.permission.Role
 
removePermission(Permission) - Method in interface org.benow.security.user.User
 
removeRole(Role) - Method in interface org.benow.security.user.User
 
resolveFrom(Object) - Method in interface org.benow.security.user.UserModuleResolver
 
resolvePermission(String) - Static method in class org.benow.java.spec.SecureMethodSpecification
 
Role - Interface in org.benow.security.permission
security: org.benow.security.PermissionTemplate
run(ArgumentContext) - Method in class org.benow.security.SecureApplication
 
run() - Method in class org.benow.security.user.SecureThread
 
run(ArgumentContext) - Method in class org.benow.security.util.Service
 
RUN_USER - Static variable in class org.benow.security.Security
 
runAs(String, Runnable) - Static method in class org.benow.security.Security
 
runAs(User, Runnable) - Static method in class org.benow.security.Security
 
runBody() - Method in class org.benow.security.user.SubjectThread
Deprecated.  

S

SecureApplication - Class in org.benow.security
Provides a secure wrapper for an application, allowing application code to enforce security against an authenticated user.
SecureApplication(String) - Constructor for class org.benow.security.SecureApplication
Constructor for SecureApplication.
Secured - Interface in org.benow.security
If persistent object implement this interface, the contained abilities for associated owner, users and group will be asserted on object persistence.
Secured.Ability - Enum in org.benow.security
 
SecureMethodSpecification - Class in org.benow.java.spec
 
SecureMethodSpecification(Method) - Constructor for class org.benow.java.spec.SecureMethodSpecification
 
SecureObject - Class in org.benow.security
Simple object that has helper methods for secure checks.
SecureObject() - Constructor for class org.benow.security.SecureObject
 
SecureObject(Permission) - Constructor for class org.benow.security.SecureObject
 
secureRun(ArgumentContext) - Method in class org.benow.security.SecureApplication
 
SecureThread - Class in org.benow.security.user
 
SecureThread(Runnable) - Constructor for class org.benow.security.user.SecureThread
 
SecureThread(Runnable, User) - Constructor for class org.benow.security.user.SecureThread
 
SecureThread() - Constructor for class org.benow.security.user.SecureThread
 
Security - Class in org.benow.security
security: org.benow.security.SecurityFactory
Security() - Constructor for class org.benow.security.Security
 
SecurityAdministrator - Interface in org.benow.security
security: org.benow.security.SecurityAdministrator
SecurityAdministratorImpl - Class in org.benow.security
Class resposible for authentication of users.
SecurityAdministratorImpl() - Constructor for class org.benow.security.SecurityAdministratorImpl
 
SecurityAdministratorListener - Interface in org.benow.security
security: org.benow.security.SecurityAdministratorListener
Service - Class in org.benow.security.util
A service is an application that is designed to run in the background.
Service() - Constructor for class org.benow.security.util.Service
 
Service(String) - Constructor for class org.benow.security.util.Service
Override this method if you wish to extend the service.
Session - Interface in org.benow.security.session
 
SessionImpl - Class in org.benow.security.session
 
SessionKey - Interface in org.benow.security.session
 
SessionManager - Class in org.benow.security.session
 
setAttribute(String, Object) - Method in interface org.benow.security.session.Session
 
setAttribute(String, Object) - Method in class org.benow.security.session.SessionImpl
 
setDescription(String) - Method in interface org.benow.security.user.User
 
setEmail(String) - Method in interface org.benow.security.user.User
 
setName(String) - Method in interface org.benow.security.user.User
Sets the user name.
setOwner(User) - Method in interface org.benow.security.user.UserModule
 
setParams(String) - Method in interface org.benow.security.permission.Permission
sets the params for this permission
setUser(User) - Method in interface org.benow.security.session.Session
 
setUser(User) - Method in class org.benow.security.session.SessionImpl
 
setUser(User) - Static method in class org.benow.security.user.SecureThread
 
specifyArguments(ArgumentSpecification) - Method in class org.benow.security.SecureApplication
 
specifyArguments(ArgumentSpecification) - Method in class org.benow.security.util.Service
 
Subject - Class in org.benow.security.user
Deprecated.  
Subject() - Constructor for class org.benow.security.user.Subject
Deprecated.  
SubjectThread - Class in org.benow.security.user
Deprecated. use securethread
SubjectThread(User, MessyRunnable) - Constructor for class org.benow.security.user.SubjectThread
Deprecated.  
SubjectThread() - Constructor for class org.benow.security.user.SubjectThread
Deprecated.  
SubjectThreadListener - Interface in org.benow.security.user
security: org.benow.security.SubjectThreadListener

T

TooManyAttemptsException - Exception in org.benow.security
 
TooManyAttemptsException(String) - Constructor for exception org.benow.security.TooManyAttemptsException
 

U

Used - Interface in org.benow.security.user
Useable.java
USER - Static variable in class org.benow.security.user.SecureThread
 
User - Interface in org.benow.security.user
 
UserModule - Interface in org.benow.security.user
Implementing classes store application specific data for the user.
UserModuleHandler - Class in org.benow.security.user
Discovers usermodules and adds them to the resources file (etc/resources.list) where they can be discovered, instantiated and assigned
UserModuleHandler() - Constructor for class org.benow.security.user.UserModuleHandler
 
UserModuleResolver - Interface in org.benow.security.user
Worker classes which are responsible for fetching usermodules according to key
usesDefaultLanguage() - Method in interface org.benow.security.user.LanguageUserModule
 

V

validateAdministrator() - Method in interface org.benow.security.SecurityAdministrator
Ensures the existance of an Administrator user having all declared roles (and hence permissions).
validateAdministrator() - Method in class org.benow.security.SecurityAdministratorImpl
Ensures the existence of an Administrator user having all declared roles (and hence permissions).
validateAdministrator(String, String) - Method in class org.benow.security.SecurityAdministratorImpl
 
validateDeclaredRoles() - Method in interface org.benow.security.SecurityAdministrator
Ensures the existance of registered roles.
validateDeclaredRoles() - Method in class org.benow.security.SecurityAdministratorImpl
Ensures the existance of registered roles.
validateDefaultUser() - Method in interface org.benow.security.SecurityAdministrator
 
validateDefaultUser() - Method in class org.benow.security.SecurityAdministratorImpl
 
validatePermissionInRole(Role, Class<?>, String) - Static method in class org.benow.security.SecurityAdministratorImpl
Convenience method to add a permission to a role with the
validateRegisteredUser() - Method in class org.benow.security.SecurityAdministratorImpl
The roles/permissions of the registered user are copied over to newly created users.
validateRoles(Collection<Role>) - Method in class org.benow.security.SecurityAdministratorImpl
 
validateSecurity() - Method in interface org.benow.security.SecurityAdministrator
Validates DeclaredRoles and the Administrator user.
validateSecurity() - Method in class org.benow.security.SecurityAdministratorImpl
Validates DeclaredRoles and the Administrator user.
valueOf(String) - Static method in enum org.benow.security.Secured.Ability
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.benow.security.Secured.Ability
Returns an array containing the constants of this enum type, in the order they are declared.

_

_logout() - Method in class org.benow.security.user.SecureThread
 
_setUser(User) - Method in class org.benow.security.user.SecureThread
 

A C D E G H I L M N O P R S T U V _