public final class OpenamAPIService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_TECHNICAL |
static String |
MESSAGE |
static String |
PARAMETER_SUBJECT_ID |
static String |
PCUID |
static String |
USER_ATTRINUTE_NAME |
static String |
USER_ATTRINUTE_VALUE |
static String |
USER_UID |
| Modifier and Type | Method and Description |
|---|---|
static String |
doDisconnect(String strSubjectId)
Process user logout
|
static String |
doLogin(String strUserName,
String strUserPassword)
Process login
|
static Map<String,String> |
getUserInformations(String strSubjectId,
String strUserId,
Map<String,String> mapUserMapping,
String strUserAttributeKey)
Get user infos
|
static String |
isValidate(String strSubjectId)
Checks the connection cookie
|
public static final String USER_ATTRINUTE_NAME
public static final String USER_ATTRINUTE_VALUE
public static final String USER_UID
public static final String PCUID
public static final String MESSAGE
public static final String PARAMETER_SUBJECT_ID
public static final String ERROR_TECHNICAL
public static String doLogin(String strUserName, String strUserPassword) throws OpenamAPIException
strUserName - The User's namestrUserPassword - The User's passwordOpenamAPIExceptionpublic static String isValidate(String strSubjectId) throws OpenamAPIException
strSubjectId - The 'account' cookie valueOpenamAPIExceptionpublic static String doDisconnect(String strSubjectId) throws OpenamAPIException
strPCUID - the user PCUIDOpenamAPIExceptionpublic static Map<String,String> getUserInformations(String strSubjectId, String strUserId, Map<String,String> mapUserMapping, String strUserAttributeKey) throws OpenamAPIException
strPCUID - The UserIDOpenamAPIExceptionCopyright © 2015 City of Paris. All rights reserved.