Class MFilesAuthCallable
java.lang.Object
de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthCallable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
connect
(de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.usermanager.IUser p_user, de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthFieldValues p_authValues, String p_strCfgGuid, String p_strVaultGuid) Returns true, if a connection to the service with the given authentication values can be established.static String
getConfigurationName
(String p_strCfgGuid) static de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthFieldValues
getFieldValues
(String p_strCfgGuid, de.uplanet.lucy.server.usermanager.IUser p_user) static de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthRequiredFields
getRequiredFields
(String p_strCfgGuid) static boolean
isAuthenticated
(de.uplanet.lucy.server.usermanager.IUser p_user, String p_strCfgGuid, String p_strVaultGuid) Tests whether a given user is authenticated for a given service.
-
Constructor Details
-
MFilesAuthCallable
public MFilesAuthCallable()Default constructor.
-
-
Method Details
-
getConfigurationName
-
getRequiredFields
public static de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthRequiredFields getRequiredFields(String p_strCfgGuid) -
getFieldValues
public static de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthFieldValues getFieldValues(String p_strCfgGuid, de.uplanet.lucy.server.usermanager.IUser p_user) -
connect
public static boolean connect(de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.usermanager.IUser p_user, de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthFieldValues p_authValues, String p_strCfgGuid, String p_strVaultGuid) Returns true, if a connection to the service with the given authentication values can be established.- Parameters:
p_session
- The session.p_user
- The user.p_authValues
- The authentication values.p_strCfgGuid
- The configuration GUID.p_strVaultGuid
- The vault GUID.- Returns:
- Returns
true
, if connection could be established, otherwise false.
-
isAuthenticated
public static boolean isAuthenticated(de.uplanet.lucy.server.usermanager.IUser p_user, String p_strCfgGuid, String p_strVaultGuid) Tests whether a given user is authenticated for a given service.- Parameters:
p_user
- The user.p_strCfgGuid
- Ther service configuration GUID.p_strVaultGuid
- The service GUID.- Returns:
true
, if user is authenticated, otherwise false.
-