Class MFilesAuthCallable

java.lang.Object
de.uplanet.lucy.server.mfiles.connector.auth.MFilesAuthCallable

@VelocityCallable("singleton") public final class MFilesAuthCallable extends Object
  • Constructor Details

    • MFilesAuthCallable

      public MFilesAuthCallable()
      Default constructor.
  • Method Details

    • getConfigurationName

      public static String getConfigurationName(String p_strCfgGuid)
    • 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, IUser p_user)
    • connect

      public static boolean connect(ISession p_session, 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(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.