Class ExchangeCallable

java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeCallable

@VelocityCallable("singleton") public final class ExchangeCallable extends Object
Callable for Exchange authentication.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    connect(ISession p_session, IUser p_user, de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues p_excAuthValues)
    Initializes or updates the Exchange account configuration for the current user using the given authentication field values and tries to connect to Exchange server afterwards.
    static boolean
    connect(ISession p_session, IUser p_user, de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues p_excAuthValues, String p_strPortalGuid)
    Initializes or updates the Exchange account configuration for the current user using the given authentication field values and tries to connect to Exchange server afterwards.
    static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues
    Returns an instance of ExchangeAuthFieldValues to capture the required authentication field values entered by an user.
    static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthRequiredFields
    Returns an instance of ExchangeAuthRequiredFields to recognize the required authentication fields.
    static boolean
    Tests whether the current Intrexx user is authenticated for Exchange server.

    Methods inherited from class java.lang.Object

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

    • ExchangeCallable

      public ExchangeCallable()
      Default constructor.
  • Method Details

    • getRequiredFields

      public static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthRequiredFields getRequiredFields()
      Returns an instance of ExchangeAuthRequiredFields to recognize the required authentication fields.
      Returns:
      ExchangeAuthRequiredFields instance
    • getFieldValues

      public static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues getFieldValues(IUser p_user)
      Returns an instance of ExchangeAuthFieldValues to capture the required authentication field values entered by an user.
      Returns:
      ExchangeAuthRequiredFields instance
    • connect

      public static boolean connect(ISession p_session, IUser p_user, de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues p_excAuthValues) throws de.uplanet.lucy.server.exchange.ExchangeLoginRequiredException
      Initializes or updates the Exchange account configuration for the current user using the given authentication field values and tries to connect to Exchange server afterwards.
      Parameters:
      p_excAuthValues - the required authentication values
      Returns:
      true if connection could be established
      Throws:
      de.uplanet.lucy.server.exchange.ExchangeLoginRequiredException - if connection could not be established
    • connect

      public static boolean connect(ISession p_session, IUser p_user, de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues p_excAuthValues, String p_strPortalGuid) throws de.uplanet.lucy.server.exchange.ExchangeLoginRequiredException
      Initializes or updates the Exchange account configuration for the current user using the given authentication field values and tries to connect to Exchange server afterwards.
      Parameters:
      p_excAuthValues - the required authentication values
      p_strPortalGuid - the portal GUID
      Returns:
      true if connection could be established
      Throws:
      de.uplanet.lucy.server.exchange.ExchangeLoginRequiredException - if connection could not be established
    • isAuthenticated

      public static boolean isAuthenticated(ISession p_session)
      Tests whether the current Intrexx user is authenticated for Exchange server.
      Parameters:
      p_session - The session.
      Returns:
      True, is user is authenticated, otherwise false.