Uses of Interface
org.apache.fulcrum.security.entity.User
-
Uses of User in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type User Modifier and Type Method Description <T extends User>
TUserManager. addUser(T user, String password)Creates new user account with specified attributes.<T extends User>
UserSet<T>UserManager. getAllUsers()Retrieves all users defined in the system.<T extends User>
TUserManager. getUser(String username)Retrieve a user from persistent storage using username as the key.<T extends User>
TUserManager. getUser(String username, String password)Retrieve a user from persistent storage using username as the key, and authenticate the user.<T extends User>
TUserManager. getUserById(Object id)Retrieve a user from persistent storage using the id as the key.<T extends User>
TUserManager. getUserInstance()Construct a blank User object.<T extends User>
TUserManager. getUserInstance(String userName)Construct a blank User object.Methods in org.apache.fulcrum.security with parameters of type User Modifier and Type Method Description voidUserManager. authenticate(User user, String password)Authenticate an User with the specified password.voidUserManager. changePassword(User user, String oldPassword, String newPassword)Change the password for an User.booleanUserManager. checkExists(User user)Determines if theUserexists in the security system.voidUserManager. forcePassword(User user, String password)Forcibly sets new password for an User.<T extends AccessControlList>
TUserManager. getACL(User user)Return a Class object representing the system's chosen implementation of of ACL interface.voidUserManager. removeUser(User user)Removes an user account from the system.voidUserManager. saveUser(User user)Saves User's data in the permanent storage. -
Uses of User in org.apache.fulcrum.security.authenticator
Methods in org.apache.fulcrum.security.authenticator with parameters of type User Modifier and Type Method Description booleanAuthenticator. authenticate(User user, String password)booleanCryptoAuthenticator. authenticate(User user, String password)Authenticate a user with the specified password.booleanNoOpAuthenticator. authenticate(User user, String password)booleanTextMatchAuthenticator. authenticate(User user, String password)Authenticate an username with the specified password. -
Uses of User in org.apache.fulcrum.security.entity
Subinterfaces of User in org.apache.fulcrum.security.entity Modifier and Type Interface Description interfaceExtendedUserThis interface represents the extended functionality of a user. -
Uses of User in org.apache.fulcrum.security.model
Methods in org.apache.fulcrum.security.model with parameters of type User Modifier and Type Method Description <T extends AccessControlList>
TACLFactory. getAccessControlList(User user) -
Uses of User in org.apache.fulcrum.security.model.basic
Methods in org.apache.fulcrum.security.model.basic with parameters of type User Modifier and Type Method Description <T extends AccessControlList>
TBasicACLFactory. getAccessControlList(User user)voidBasicModelManager. grant(User user, Group group)Puts a user in a group.voidBasicModelManager. revoke(User user, Group group)Removes a user from a groupvoidBasicModelManager. revokeAll(User user)Revokes all groups from an User. -
Uses of User in org.apache.fulcrum.security.model.basic.entity
Subinterfaces of User in org.apache.fulcrum.security.model.basic.entity Modifier and Type Interface Description interfaceBasicUserRepresents the "basic" model where users can be part of multiple groups directly, with no roles or permissions.Methods in org.apache.fulcrum.security.model.basic.entity with type parameters of type User Modifier and Type Method Description <T extends User>
Set<T>BasicGroup. getUsersAsSet()Get the users that are part of this group as a Set<T extends User>
voidBasicGroup. setUsersAsSet(Set<T> users)Set the users that are part of this group as a SetMethods in org.apache.fulcrum.security.model.basic.entity with parameters of type User Modifier and Type Method Description voidBasicGroup. addUser(User user)Add a user to this groupvoidBasicGroup. removeUser(User user)Remove a user from this group -
Uses of User in org.apache.fulcrum.security.model.basic.entity.impl
Classes in org.apache.fulcrum.security.model.basic.entity.impl that implement User Modifier and Type Class Description classBasicUserImplRepresents the "basic" model where users can be part of multiple groups directly, with no roles or permissions.Methods in org.apache.fulcrum.security.model.basic.entity.impl with type parameters of type User Modifier and Type Method Description <T extends User>
Set<T>BasicGroupImpl. getUsersAsSet()Get the users that are part of this group as a Set<T extends User>
voidBasicGroupImpl. setUsersAsSet(Set<T> users)Set the users that are part of this group as a SetMethods in org.apache.fulcrum.security.model.basic.entity.impl with parameters of type User Modifier and Type Method Description voidBasicGroupImpl. addUser(User user)Add a user to this groupvoidBasicGroupImpl. removeUser(User user)Remove a user from this group -
Uses of User in org.apache.fulcrum.security.model.dynamic
Methods in org.apache.fulcrum.security.model.dynamic with parameters of type User Modifier and Type Method Description voidAbstractDynamicModelManager. addDelegate(User delegator, User delegatee)It is expected the real implementation will overide this and save either side of the function.voidDynamicModelManager. addDelegate(User delegator, User delegatee)Allow B to assumes A's roles, groups and permissions<T extends AccessControlList>
TDynamicACLFactory. getAccessControlList(User user)voidDynamicModelManager. grant(User user, Group group)Puts a user in a group.voidAbstractDynamicModelManager. removeDelegate(User delegator, User delegatee)Implementors should overide this to save and call super if they want the base class to do the workvoidDynamicModelManager. removeDelegate(User delegator, User delegatee)Stop A having B's roles, groups and permissionsvoidDynamicModelManager. revoke(User user, Group group)Removes a user from a groupvoidAbstractDynamicModelManager. revokeAll(User user)Revokes all groups from a user This method is used when deleting an account.voidDynamicModelManager. revokeAll(User user)Revokes all roles from an User. -
Uses of User in org.apache.fulcrum.security.model.dynamic.entity
Subinterfaces of User in org.apache.fulcrum.security.model.dynamic.entity Modifier and Type Interface Description interfaceDynamicUserRepresents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity with type parameters of type User Modifier and Type Method Description <T extends User>
Set<T>DynamicUser. getDelegatees()Get the set of delegatees for this user<T extends User>
Set<T>DynamicUser. getDelegators()Get the set of delegators for this user<T extends User>
voidDynamicUser. setDelegatees(Set<T> delegatees)Set the delegatees for this user<T extends User>
voidDynamicUser. setDelegators(Set<T> delegators)Set the delegators for this user -
Uses of User in org.apache.fulcrum.security.model.dynamic.entity.impl
Classes in org.apache.fulcrum.security.model.dynamic.entity.impl that implement User Modifier and Type Class Description classDynamicUserImplRepresents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity.impl with type parameters of type User Modifier and Type Method Description <T extends User>
Set<T>DynamicUserImpl. getDelegatees()Get the set of delegatees for this user<T extends User>
Set<T>DynamicUserImpl. getDelegators()Get the set of delegators for this user<T extends User>
voidDynamicUserImpl. setDelegatees(Set<T> delegatees)Set the delegatees for this user<T extends User>
voidDynamicUserImpl. setDelegators(Set<T> delegators)Set the delegators for this user -
Uses of User in org.apache.fulcrum.security.model.turbine
Methods in org.apache.fulcrum.security.model.turbine with type parameters of type User Modifier and Type Method Description <T extends User>
TTurbineUserManager. getAnonymousUser()Constructs an User object to represent an anonymous user of the application.Methods in org.apache.fulcrum.security.model.turbine with parameters of type User Modifier and Type Method Description <T extends AccessControlList>
TTurbineACLFactory. getAccessControlList(User user)voidTurbineModelManager. grant(User user, Group group, Role role)Grant an User a Role in a Group.booleanTurbineUserManager. isAnonymousUser(User user)Checks whether a passed user object matches the anonymous user pattern according to the configured user managervoidTurbineModelManager. replace(User user, Role oldRole, Role newRole)Replaces the assigned old Role to new role in the #global group for User user.voidTurbineModelManager. revoke(User user, Group group, Role role)Revoke a Role in a Group from an User.voidAbstractTurbineModelManager. revokeAll(User user)Revokes all roles and groups from a User.voidTurbineModelManager. revokeAll(User user)Revokes all roles from an User. -
Uses of User in org.apache.fulcrum.security.model.turbine.entity
Subinterfaces of User in org.apache.fulcrum.security.model.turbine.entity Modifier and Type Interface Description interfaceTurbineUserRepresents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity that return User Modifier and Type Method Description UserTurbineUserGroupRole. getUser()Get the userMethods in org.apache.fulcrum.security.model.turbine.entity with parameters of type User Modifier and Type Method Description voidTurbineUserGroupRole. setUser(User user)Set the user -
Uses of User in org.apache.fulcrum.security.model.turbine.entity.impl
Classes in org.apache.fulcrum.security.model.turbine.entity.impl that implement User Modifier and Type Class Description classTurbineUserImplRepresents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships. -
Uses of User in org.apache.fulcrum.security.spi
Methods in org.apache.fulcrum.security.spi with type parameters of type User Modifier and Type Method Description <T extends User>
TAbstractUserManager. addUser(T user, String password)Creates new user account with specified attributes.<T extends User>
TAbstractUserManager. getUser(String name)<T extends User>
TAbstractUserManager. getUser(String userName, String password)Retrieve a user from persistent storage using username as the key, and authenticate the user.<T extends User>
TAbstractUserManager. getUserById(Object id)Retrieve a User object with specified Id.<T extends User>
TAbstractUserManager. getUserInstance()Construct a blank User object.<T extends User>
TAbstractUserManager. getUserInstance(String userName)Construct a blank User object.protected abstract <T extends User>
TAbstractUserManager. persistNewUser(T user)Methods in org.apache.fulcrum.security.spi with parameters of type User Modifier and Type Method Description voidAbstractUserManager. authenticate(User user, String password)Authenticate an User with the specified password.voidAbstractUserManager. changePassword(User user, String oldPassword, String newPassword)Change the password for an User.booleanAbstractUserManager. checkExists(User user)Check whether a specified user's account exists.voidAbstractUserManager. forcePassword(User user, String password)Forcibly sets new password for an User.<T extends AccessControlList>
TAbstractUserManager. getACL(User user) -
Uses of User in org.apache.fulcrum.security.util
Classes in org.apache.fulcrum.security.util with type parameters of type User Modifier and Type Class Description classUserSet<T extends User>This class represents a set of Users.Methods in org.apache.fulcrum.security.util that return User Modifier and Type Method Description UserUserSet. getUserById(Object userId)Deprecated.use getById()UserUserSet. getUserByName(String userName)Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type User Constructor Description UserSet(Collection<? extends User> users)Constructs a new UserSet with specified contents.