|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cle.persistence.DeploymentConnector | +--oracle.cle.persistence.DeploymentAutoConnector | +--oracle.cle.persistence.Handler | +--oracle.cle.persistence.handler.UserHandler
Convenience class for persistence interaction with resource "User".
Field Summary | |
static java.lang.String |
LOGIN
|
protected ConnectionProvider |
provider
|
Constructor Summary | |
UserHandler()
|
Method Summary | |
User |
login(java.lang.String username,
java.lang.String password)
Logs a user in using the information found in the login
provider information
|
protected abstract User |
populateUser(User user)
|
Methods inherited from class oracle.cle.persistence.Handler |
commitChanges, createObject, createObject, deleteObject, deleteObject, deleteObject, findObject, findObject, getAllObjects, getAllObjects, getObject, newObject, registerForChanges, registerForChanges, startTransaction, startTransaction |
Methods inherited from class oracle.cle.persistence.DeploymentAutoConnector |
getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getReferenceClass, releaseConnection, releaseConnection, releaseConnection, releaseConnection |
Methods inherited from class oracle.cle.persistence.DeploymentConnector |
deploymentKeyNotFound, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getDeploymentKey, getDeploymentKey, getDeploymentKey, getProvider, getProvider, providerNotSupported, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection, releaseConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOGIN
protected ConnectionProvider provider
Constructor Detail |
public UserHandler()
Method Detail |
public User login(java.lang.String username, java.lang.String password) throws java.lang.Exception
login
provider information
The "persistence_login.properties"
file should contain
all the information required to login (including failover), but
does not, by default, have a username or password.
This method will fill in the login information (user/password)
and enable login if everything else is as it should be.
protected abstract User populateUser(User user)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |