|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cafesoft.core.jdbc.SearchConfig
public class SearchConfig
Encapsulates a set of JDBC search parameters.
| Field Summary | |
|---|---|
protected String |
passwordColumn
Column name for the user's password. |
protected String |
roleColumn
The database column name for the role. |
protected String |
rolePreparedStatement
The queary to select principals. |
protected String |
userPreparedStatement
The query to validate a username. |
| Constructor Summary | |
|---|---|
SearchConfig(String userPreparedStatement,
String passwordColumn,
String rolePreparedStatement,
String roleColumn)
Create a new SearchConfig object. |
|
| Method Summary | |
|---|---|
String |
getPasswordColumn()
Get the database column name where the user password is stored. |
String |
getRoleColumn()
Get the database column name where the role is stored. |
String |
getRolePreparedStatement()
Get the SQL prepared statement to search for user roles. |
String |
getUserPreparedStatement()
Get the SQL prepared statement to search for users. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String userPreparedStatement
protected String passwordColumn
protected String rolePreparedStatement
protected String roleColumn
| Constructor Detail |
|---|
public SearchConfig(String userPreparedStatement,
String passwordColumn,
String rolePreparedStatement,
String roleColumn)
userPreparedStatement - the query to validate a usernamepasswordColumn - the database column name for the user's passwordrolePreparedStatement - the queary to select principalsroleColumn - the database column name for the role| Method Detail |
|---|
public String getUserPreparedStatement()
public String getPasswordColumn()
public String getRolePreparedStatement()
public String getRoleColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||