|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use User | |
---|---|
org.moremotion.security | |
org.moremotion.security.broker |
Uses of User in org.moremotion.security |
---|
Methods in org.moremotion.security that return User | |
---|---|
User |
SecurityContext.getCurrentUser()
Returns the user object that currently logged-in. |
User |
SecurityContext.getCurrentUser(boolean refresh)
|
User |
SecurityContext.getUser(java.lang.String username)
Returns a User object by its username. |
User |
SecurityContext.getUserByEmail(java.lang.String email)
Returns a User object by its email. |
User[] |
SecurityContext.getUsers()
Returns a list of all the users. |
User[] |
SecurityContext.getUsers(int from,
int amount,
MutableInt nou)
Returns a sublist of the users. |
User |
SecurityContext.newUser(java.lang.String name,
java.lang.String password,
java.lang.String email,
java.lang.String fullname,
boolean accDsbld)
Creates a new user in this context. |
User[] |
SecurityContext.searchUsers(java.lang.String searchCriteria,
int from,
int amount,
MutableInt nou)
Returns a sublist of users that match with search criteria |
Methods in org.moremotion.security with parameters of type User | |
---|---|
boolean |
SecurityContext.authenticateUser(User user,
java.lang.String password)
Authenticates the given user ubject and the specified password (plain) and returns true
if user is found and its password mathes. |
boolean |
SecurityContext.hasAuthority(User user,
java.lang.String checkPoint)
Returns true if the given user object has the authority for the specified checkpoint. |
void |
SecurityContext.login(User user)
Logs in the given user. |
void |
SecurityContext.login(User user,
boolean multipleLoginAllowed)
Logs in the given user. |
void |
SecurityContext.saveUser(User user)
Saves given user. |
Uses of User in org.moremotion.security.broker |
---|
Methods in org.moremotion.security.broker that return User | |
---|---|
User |
SecurityBroker.getUser(BrokerCommunicationContext bcc,
java.lang.String userName)
Gets a user by its name. |
User |
SecurityBroker.getUserByEmail(BrokerCommunicationContext bcc,
java.lang.String email)
Gets a user by its Email address. |
User[] |
SecurityBroker.getUsers(BrokerCommunicationContext bcc)
Returns list of all users. |
User[] |
SecurityBroker.getUsers(BrokerCommunicationContext bcc,
int from,
int amount,
MutableInt noi)
Returns a sublist of the users. |
User[] |
SecurityBroker.searchUsers(BrokerCommunicationContext bcc,
java.lang.String searchCriteria,
int from,
int amount,
MutableInt noi)
Returns list of that users that match with search criteria |
Methods in org.moremotion.security.broker with parameters of type User | |
---|---|
void |
SecurityBroker.authenticateUser(User user,
java.lang.String password)
Authenticates a user with password (plain) |
void |
SecurityBroker.saveUser(BrokerCommunicationContext bcc,
User user)
Saves a user. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |