|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tif.jacob.security.IUserFactory
public abstract class IUserFactory
Abstract user factory class, which has to be implemented (i.e. extended) by an application developer to provide application specific concerns regarding authentifikation and authorization.
| Field Summary | |
|---|---|
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Constructor Summary | |
|---|---|
IUserFactory()
|
|
| Method Summary | |
|---|---|
abstract java.util.List |
findByFullName(java.lang.String fullNamePart)
Searchs all users which will match to the given fullname part. |
abstract IUser |
findUser(java.lang.String userLoginId)
Returns the user object to the given user login id. |
IApplicationDefinition |
getApplicationDefinition()
Returns the application definition bound to this user factory |
abstract IUser |
getValid(java.lang.String userLoginId,
java.lang.String passwd)
Returns the corresponding user with the user login id if the password to the user matches. |
IDataAccessor |
newDataAccessor()
Creates a new data accessor for accessing data of the application bound to this user factory |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String RCS_ID
public static final transient java.lang.String RCS_REV
| Constructor Detail |
|---|
public IUserFactory()
| Method Detail |
|---|
public abstract IUser findUser(java.lang.String userLoginId)
throws UserNotExistingException,
java.security.GeneralSecurityException
userLoginId - The user login ID of the user
UserNotExistingException - will be thrown if no such user exists
java.security.GeneralSecurityException - on any other security related problem
public abstract java.util.List findByFullName(java.lang.String fullNamePart)
throws java.lang.Exception
Example: If 'Müller' is given, you will retrieve:
Martin Müller
A. Müller
Müller, Gert
.
.
fullNamePart - A part of the fullname of a user
List of IUser of all matching users.
java.lang.Exception - on any problem
public abstract IUser getValid(java.lang.String userLoginId,
java.lang.String passwd)
throws AuthenticationException,
java.security.GeneralSecurityException
userLoginId - The user login id of the userpasswd - The corresponding password of the user
AuthenticationException - if login id and/or password are not valid
java.security.GeneralSecurityException - any other security concernIUser.getLoginId()public final IApplicationDefinition getApplicationDefinition()
public final IDataAccessor newDataAccessor()
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||