|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.sql.BaseDao com.esri.gpt.framework.security.identity.local.LocalDao
public class LocalDao
Super-class for a database access objects associated with local identity tables.
Constructor Summary | |
---|---|
protected |
LocalDao()
Default constructor. |
|
LocalDao(RequestContext requestContext)
Constructs with an associated request context. |
Method Summary | |
---|---|
void |
ensureReferenceToRemoteUser(User user)
Ensures a local reference to a remote user. |
protected String |
getUserTableName()
Gets the name of the user table. |
String |
readDN(int userId)
Reads the distinguished name associated with a user id. |
String |
readUsername(int userId)
Reads the username associated with a user id. |
Methods inherited from class com.esri.gpt.framework.sql.BaseDao |
---|
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getRequestContext, logExpression, returnConnection, setRequestContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LocalDao()
public LocalDao(RequestContext requestContext)
requestContext
- the request contextMethod Detail |
---|
protected String getUserTableName()
public void ensureReferenceToRemoteUser(User user) throws IdentityException, SQLException
user
- the user (if user id less than zero, a record will be created)
IdentityException
- if an integrity violation occurs
SQLException
- if a database exception occurspublic String readDN(int userId) throws SQLException
userId
- the subject user id
SQLException
- if a database exception occurspublic String readUsername(int userId) throws SQLException
userId
- the subject user id
SQLException
- if a database exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |