|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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. |
Users |
readAllUsers()
Reads all referenced users. |
String |
readDN(int userId)
Reads the distinguished name associated with a user id. |
int |
readUserIdByDN(String dn)
Reads the user id associated with a distinguished name. |
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, getIsDbCaseSensitive, 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 context| Method 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 occurs
public Users readAllUsers()
throws SQLException
SQLException - if a database exception occurs
public String readDN(int userId)
throws SQLException
userId - the subject user id
SQLException - if a database exception occurs
public int readUserIdByDN(String dn)
throws SQLException
dn - the distinguished name
SQLException - if a database exception occurs
public String readUsername(int userId)
throws SQLException
userId - the subject user id
SQLException - if a database exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||