Class HypArchiveAuthCallable

java.lang.Object
de.uplanet.lucy.server.dghyparchive.connector.auth.HypArchiveAuthCallable

@VelocityCallable("singleton") public final class HypArchiveAuthCallable extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    static String
     
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HypArchiveAuthCallable

      public HypArchiveAuthCallable()
      Default constructor.
  • Method Details

    • getConfigurationName

      public static String getConfigurationName(String p_strCfgGuid)
    • 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.