A B C D E F G H I M P R S T U

A

add(Permission) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Adds a permission to this group.
add(PermissionGroup) - Method in class br.com.arsmachina.authentication.entity.User
Adds a permission group to this user.
add(Role) - Method in class br.com.arsmachina.authentication.entity.User
Adds a role to this user.
addRemovedPermission(Permission) - Method in class br.com.arsmachina.authentication.entity.User
Adds a removed permission to this user.
ALL_USERS_PERMISSION_GROUP_NAME - Static variable in class br.com.arsmachina.authentication.entity.PermissionGroup
Name of the permission group that contains all users.

B

br.com.arsmachina.authentication.controller - package br.com.arsmachina.authentication.controller
 
br.com.arsmachina.authentication.controller.impl - package br.com.arsmachina.authentication.controller.impl
 
br.com.arsmachina.authentication.dao - package br.com.arsmachina.authentication.dao
 
br.com.arsmachina.authentication.entity - package br.com.arsmachina.authentication.entity
 

C

compareTo(Permission) - Method in class br.com.arsmachina.authentication.entity.Permission
 
compareTo(Permission) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
 
compareTo(User) - Method in class br.com.arsmachina.authentication.entity.User
 

D

DummyPasswordEncrypter - Class in br.com.arsmachina.authentication.controller.impl
PasswordEncrypter implementation that does not really encrypt passwords.
DummyPasswordEncrypter() - Constructor for class br.com.arsmachina.authentication.controller.impl.DummyPasswordEncrypter
 

E

encrypt(String) - Method in class br.com.arsmachina.authentication.controller.impl.DummyPasswordEncrypter
Returns password unchanged.
encrypt(String) - Method in interface br.com.arsmachina.authentication.controller.PasswordEncrypter
Encrypts a password.
equals(Object) - Method in class br.com.arsmachina.authentication.entity.Permission
 
equals(Object) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
 
equals(Object) - Method in class br.com.arsmachina.authentication.entity.Role
 
equals(Object) - Method in class br.com.arsmachina.authentication.entity.User
 

F

findByLogin(String) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Invokes dao.findByLogin().
findByLogin(String) - Method in interface br.com.arsmachina.authentication.controller.UserController
Returns the user with a given login or null if no such user exists.
findByLogin(String) - Method in interface br.com.arsmachina.authentication.dao.UserDAO
Returns the user with a given login or null if no such user exists.
findByLoginAndPassword(String, String) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Invokes dao.findByLoginAndPassword().
findByLoginAndPassword(String, String) - Method in interface br.com.arsmachina.authentication.controller.UserController
Returns the user with a given login and password or null if no such user exists.
findByLoginAndPassword(String, String) - Method in interface br.com.arsmachina.authentication.dao.UserDAO
Returns the user with a given login and password or null if no such user exists.
findByName(String) - Method in class br.com.arsmachina.authentication.controller.impl.PermissionControllerImpl
Invokes dao.findByName().
findByName(String) - Method in class br.com.arsmachina.authentication.controller.impl.PermissionGroupControllerImpl
Invokes dao.findByName().
findByName(String) - Method in interface br.com.arsmachina.authentication.controller.PermissionController
Returns the permission with the given name or null if there is no such one.
findByName(String) - Method in interface br.com.arsmachina.authentication.controller.PermissionGroupController
Returns the permission group with the given name or null if there is no such one.
findByName(String) - Method in interface br.com.arsmachina.authentication.dao.PermissionDAO
Returns the permission with the given name or null if there is no such one.
findByName(String) - Method in interface br.com.arsmachina.authentication.dao.PermissionGroupDAO
Returns the permission group with the given name or null if there is no such one.
findByRole(Class<T>) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Invokes delegate.findByRole().
findByRole(Class<T>) - Method in interface br.com.arsmachina.authentication.controller.UserController
Returns all users with a given Role subclass.
findByRole(Class<T>) - Method in interface br.com.arsmachina.authentication.dao.UserDAO
Returns all users with a given Role subclass.

G

getEmail() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.getEmail().
getEmail() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the email property.
getId() - Method in class br.com.arsmachina.authentication.entity.Permission
Returns the value of the id property.
getId() - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Returns the value of the id property.
getId() - Method in class br.com.arsmachina.authentication.entity.Role
Returns the value of the id property.
getId() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the id property.
getLogin() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.getLogin().
getLogin() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the login property.
getName() - Method in class br.com.arsmachina.authentication.entity.Permission
Returns the value of the name property.
getName() - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Returns the value of the name property.
getName() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.getName().
getName() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the name property.
getPassword() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the password property.
getPermissionGroups() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the permissionGroups property.
getPermissions() - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Returns the value of the permissions property.
getPermissions() - Method in class br.com.arsmachina.authentication.entity.User
Returns an unmodifiable list containing all the permissions granted to this user.
getRemovedPermissions() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the removedPermissions property.
getRole(Class<T>) - Method in class br.com.arsmachina.authentication.entity.User
Given a Class object, returns the corresponding Role instance or null if this user has no such role.
getRoles() - Method in class br.com.arsmachina.authentication.entity.User
Returns the value of the roles property.
getUser() - Method in class br.com.arsmachina.authentication.entity.Role
Returns the value of the user property.

H

hashCode() - Method in class br.com.arsmachina.authentication.entity.Permission
 
hashCode() - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
 
hashCode() - Method in class br.com.arsmachina.authentication.entity.Role
 
hashCode() - Method in class br.com.arsmachina.authentication.entity.User
 
hasRole(Class<R>) - Method in class br.com.arsmachina.authentication.entity.User
Tells if this user has some a given role type.
hasUserWithLogin(String) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Invokes delegate.hasUserWithLogin().
hasUserWithLogin(String) - Method in interface br.com.arsmachina.authentication.controller.UserController
Tells if some user with a given login exists.
hasUserWithLogin(String) - Method in interface br.com.arsmachina.authentication.dao.UserDAO
Tells if some user with a given login exists.

I

isCredentialsExpired() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.isCredentialsExpired().
isCredentialsExpired() - Method in class br.com.arsmachina.authentication.entity.User
Is this user's credentials expired?
isEnabled() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.isEnabled().
isEnabled() - Method in class br.com.arsmachina.authentication.entity.User
Is this user's account enabled?.
isExpired() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.isExpired().
isExpired() - Method in class br.com.arsmachina.authentication.entity.User
Is this user's account expired?
isLocked() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.isLocked().
isLocked() - Method in class br.com.arsmachina.authentication.entity.User
Is this user's account locked?
isLoggedIn() - Method in class br.com.arsmachina.authentication.entity.Role
Invokes user.isLoggedIn().
isLoggedIn() - Method in class br.com.arsmachina.authentication.entity.User
Is this user's logged in now?

M

MAXIMUM_EMAIL_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Minimum e-mail length.
MAXIMUM_LOGIN_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Maximum e-mail length.
MAXIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.Permission
Maximum name length.
MAXIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.PermissionGroup
Maximum name length.
MAXIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Maximum name length.
MAXIMUM_PASSWORD_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Maximum name length.
MINIMUM_EMAIL_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Minimum e-mail length.
MINIMUM_LOGIN_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Minimum login length.
MINIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.Permission
Minimum name length.
MINIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.PermissionGroup
Minimum name length.
MINIMUM_NAME_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Minimum name length.
MINIMUM_PASSWORD_LENGTH - Static variable in class br.com.arsmachina.authentication.entity.User
Minimum name length.

P

PasswordEncrypter - Interface in br.com.arsmachina.authentication.controller
Interface used to encrypt passwords.
Permission - Class in br.com.arsmachina.authentication.entity
Class that represents a single permission.
Permission() - Constructor for class br.com.arsmachina.authentication.entity.Permission
No-arg constructor.
Permission(String) - Constructor for class br.com.arsmachina.authentication.entity.Permission
Constructor that receives a name.
PermissionController - Interface in br.com.arsmachina.authentication.controller
Controller definition for Permission.
PermissionControllerImpl - Class in br.com.arsmachina.authentication.controller.impl
PermissionController implementation.
PermissionControllerImpl(PermissionDAO) - Constructor for class br.com.arsmachina.authentication.controller.impl.PermissionControllerImpl
Single constructor of this class.
PermissionDAO - Interface in br.com.arsmachina.authentication.dao
Data access object (DAO) for Permission.
PermissionGroup - Class in br.com.arsmachina.authentication.entity
Class that represents a group of permissions.
PermissionGroup() - Constructor for class br.com.arsmachina.authentication.entity.PermissionGroup
No-arg constructor.
PermissionGroup(String) - Constructor for class br.com.arsmachina.authentication.entity.PermissionGroup
Constructor that receives a name.
PermissionGroupController - Interface in br.com.arsmachina.authentication.controller
Controller definition for PermissionGroup.
PermissionGroupControllerImpl - Class in br.com.arsmachina.authentication.controller.impl
PermissionGroupController implementation.
PermissionGroupControllerImpl(PermissionGroupDAO) - Constructor for class br.com.arsmachina.authentication.controller.impl.PermissionGroupControllerImpl
Single constructor of this class.
PermissionGroupDAO - Interface in br.com.arsmachina.authentication.dao
Data access object (DAO) for PermissionGroup.

R

remove(Permission) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Removes a permission from this group.
remove(Role) - Method in class br.com.arsmachina.authentication.entity.User
Removes a role from this user.
remove(PermissionGroup) - Method in class br.com.arsmachina.authentication.entity.User
Removes a permission group from this user.
removeRemovedPermission(Permission) - Method in class br.com.arsmachina.authentication.entity.User
Removes a removed permission from this user.
removeRole(Class<T>) - Method in class br.com.arsmachina.authentication.entity.User
Removes all roles from a given type from this user.
Role - Class in br.com.arsmachina.authentication.entity
Class that represents a role an user can have in the application.
Role() - Constructor for class br.com.arsmachina.authentication.entity.Role
 

S

save(User) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
 
setCredentialsExpired(boolean) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the credentialsExpired property.
setEmail(String) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the email property.
setEnabled(boolean) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the enabled property.
setExpired(boolean) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the expired property.
setId(Integer) - Method in class br.com.arsmachina.authentication.entity.Permission
Changes the value of the id property.
setId(Integer) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Changes the value of the id property.
setId(Integer) - Method in class br.com.arsmachina.authentication.entity.Role
Changes the value of the id property.
setId(Integer) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the id property.
setLocked(boolean) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the locked property.
setLoggedIn(boolean) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the loggedIn property.
setLogin(String) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the login property.
setName(String) - Method in class br.com.arsmachina.authentication.entity.Permission
Changes the value of the name property.
setName(String) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Changes the value of the name property.
setName(String) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the name property.
setPassword(String) - Method in class br.com.arsmachina.authentication.entity.User
Changes the value of the password property.
setPermissionGroups(List<PermissionGroup>) - Method in class br.com.arsmachina.authentication.entity.User
Deprecated. Use add(PermissionGroup) and remove(PermissionGroup) instead.
setPermissions(List<Permission>) - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Deprecated. Use PermissionGroup.add(Permission) and PermissionGroup.remove(Permission) instead.
setRemovedPermissions(List<Permission>) - Method in class br.com.arsmachina.authentication.entity.User
Deprecated. Use addRemovedPermission(Permission) and #removeRemovedPermisson(Permission) instead.
setRoles(List<Role>) - Method in class br.com.arsmachina.authentication.entity.User
Deprecated. Use add(Role) and remove(Role) instead.
setUser(User) - Method in class br.com.arsmachina.authentication.entity.Role
Changes the value of the user property.

T

toString() - Method in class br.com.arsmachina.authentication.entity.Permission
Returns the name property.
toString() - Method in class br.com.arsmachina.authentication.entity.PermissionGroup
Returns the name property.
toString() - Method in class br.com.arsmachina.authentication.entity.User
Returns the name property.

U

update(User) - Method in class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Encrypts the password if it is not encrypted already and then updates the user.
User - Class in br.com.arsmachina.authentication.entity
Class that represents an application user.
User() - Constructor for class br.com.arsmachina.authentication.entity.User
 
USER_ROLE_NAME - Static variable in class br.com.arsmachina.authentication.entity.Permission
Name of the role that all users have.
UserController - Interface in br.com.arsmachina.authentication.controller
Controller definition for User.
UserControllerImpl - Class in br.com.arsmachina.authentication.controller.impl
UserController implementation.
UserControllerImpl(UserDAO, PasswordEncrypter, PermissionController, PermissionGroupController) - Constructor for class br.com.arsmachina.authentication.controller.impl.UserControllerImpl
Single constructor of this class.
UserDAO - Interface in br.com.arsmachina.authentication.dao
Data access object (DAO) for User.

A B C D E F G H I M P R S T U

Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.