Class HypArchiveAuthCallable
java.lang.Object
de.uplanet.lucy.server.dghyparchive.connector.auth.HypArchiveAuthCallable
-
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.dghyparchive.connector.auth.HypArchiveAuthFieldValues p_authValues, String p_strCfgGuid) 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.dghyparchive.connector.auth.HypArchiveAuthFieldValues
getFieldValues
(String p_strCfgGuid, de.uplanet.lucy.server.usermanager.IUser p_user) static de.uplanet.lucy.server.dghyparchive.connector.auth.HypArchiveAuthRequiredFields
getRequiredFields
(String p_strCfgGuid) static boolean
isAuthenticated
(de.uplanet.lucy.server.usermanager.IUser p_user, String p_strCfgGuid) Tests whether a given user is authenticated for a given service.
-
Constructor Details
-
HypArchiveAuthCallable
public HypArchiveAuthCallable()Default constructor.
-
-
Method Details
-
getConfigurationName
-
getRequiredFields
public static de.uplanet.lucy.server.dghyparchive.connector.auth.HypArchiveAuthRequiredFields getRequiredFields(String p_strCfgGuid) -
getFieldValues
public static de.uplanet.lucy.server.dghyparchive.connector.auth.HypArchiveAuthFieldValues 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.dghyparchive.connector.auth.HypArchiveAuthFieldValues p_authValues, String p_strCfgGuid) 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.- 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) Tests whether a given user is authenticated for a given service.- Parameters:
p_user
- The user.p_strCfgGuid
- Ther service configuration GUID.- Returns:
true
, if user is authenticated, otherwise false.
-