|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jfw.authentication.UserServiceDB
public class UserServiceDB
Check if a service can be executed by a user.
| Field Summary | |
|---|---|
static java.lang.String |
RESULT_KEY
Output HashMap key for operation result. |
static java.lang.String |
RESULT_KO_KEY
Output HashMap KO value relative of key RESULT_KEY. |
static java.lang.String |
RESULT_OK_KEY
Output HashMap OK value relative of key RESULT_KEY. |
static java.lang.String |
SERVICE_NAME_KEY
Parameter key for service name. |
static java.lang.String |
USER_ID_KEY
Parameter key for user id. |
| Constructor Summary | |
|---|---|
UserServiceDB()
|
|
| Method Summary | |
|---|---|
void |
execute(java.util.HashMap outputdata)
Execute the query. |
void |
setData(java.lang.Object data)
Set attribute data. |
| 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 USER_ID_KEY
public static final java.lang.String SERVICE_NAME_KEY
public static final java.lang.String RESULT_KEY
public static final java.lang.String RESULT_OK_KEY
RESULT_KEY.
public static final java.lang.String RESULT_KO_KEY
RESULT_KEY.
| Constructor Detail |
|---|
public UserServiceDB()
| Method Detail |
|---|
public void setData(java.lang.Object data)
data.
setData in interface QueryGatewayInterfacedata - contains parameters ued by the query.
public void execute(java.util.HashMap outputdata)
throws DatabaseException
execute in interface QueryGatewayInterfaceoutputdata - set key RESULT_OK_KEY with value RESULT_OK_KEY
if the user-group can execute the service or value RESULT_KO_KEY
if can not.
DatabaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||