Class ExchangeCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeCallable
Callable for Exchange authentication.
-
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.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
(de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.usermanager.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
getFieldValues
(de.uplanet.lucy.server.usermanager.IUser p_user) Returns an instance ofExchangeAuthFieldValues
to capture the required authentication field values entered by an user.static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthRequiredFields
Returns an instance ofExchangeAuthRequiredFields
to recognize the required authentication fields.static boolean
isAuthenticated
(de.uplanet.lucy.server.session.ISession p_session) Tests whether the current Intrexx user is authenticated for Exchange server.
-
Constructor Details
-
ExchangeCallable
public ExchangeCallable()Default constructor.
-
-
Method Details
-
getRequiredFields
public static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthRequiredFields getRequiredFields()Returns an instance ofExchangeAuthRequiredFields
to recognize the required authentication fields.- Returns:
- ExchangeAuthRequiredFields instance
-
getFieldValues
public static de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAuthFieldValues getFieldValues(de.uplanet.lucy.server.usermanager.IUser p_user) Returns an instance ofExchangeAuthFieldValues
to capture the required authentication field values entered by an user.- Returns:
- ExchangeAuthRequiredFields instance
-
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.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(de.uplanet.lucy.server.session.ISession p_session, de.uplanet.lucy.server.usermanager.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 valuesp_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(de.uplanet.lucy.server.session.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.
-