Package es.caib.seycon.ng.sync.servei
Interface LogonService
-
public interface LogonServiceService LogonService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangePassword(String user, String domain, String oldPassword, String newPassword)Operation changePasswordChallengegetChallenge(String challengeId)Operation getChallengeStringgetPasswordPolicy(String user, String domain)Operation getPasswordPolicybooleanmustChangePassword(String user, String domain)Operation mustChangePasswordvoidpropagatePassword(String user, String domain, String password)Operation propagatePasswordvoidpurgeChallenges()Operation purgeChallengesvoidregisterChallenge(Challenge challenge)Operation registerChallengeChallengerequestChallenge(int type, String user, String domain, String host, String clientHost, int cardSupport)Operation requestChallengeSessioresponseChallenge(Challenge result)Operation responseChallengePasswordValidationvalidatePassword(String user, String passwordDomain, String password)Operation validatePasswordbooleanvalidatePIN(String user, String pin)Operation validatePIN
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
mustChangePassword
boolean mustChangePassword(String user, String domain) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation mustChangePassword- Parameters:
user-domain-- Returns:
- Throws:
InternalErrorExceptionRemoteException
-
validatePIN
boolean validatePIN(String user, String pin) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation validatePIN- Parameters:
user-pin-- Returns:
- Throws:
InternalErrorExceptionRemoteException
-
getChallenge
Challenge getChallenge(String challengeId) throws InternalErrorException
Operation getChallenge- Parameters:
challengeId-- Returns:
- Throws:
InternalErrorException
-
requestChallenge
Challenge requestChallenge(int type, String user, String domain, String host, String clientHost, int cardSupport) throws InternalErrorException, InternalErrorException, RemoteException, LogonDeniedException, InternalErrorException, UnknownUserException
Operation requestChallenge- Parameters:
type-user-domain-host-clientHost-cardSupport-- Returns:
- Throws:
InternalErrorExceptionRemoteExceptionLogonDeniedExceptionUnknownUserException
-
validatePassword
PasswordValidation validatePassword(String user, String passwordDomain, String password) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation validatePassword- Parameters:
user-passwordDomain-password-- Returns:
- Throws:
InternalErrorExceptionRemoteException
-
responseChallenge
Sessio responseChallenge(Challenge result) throws InternalErrorException, InternalErrorException, RemoteException, LogonDeniedException, InternalErrorException
Operation responseChallenge- Parameters:
result-- Returns:
- Throws:
InternalErrorExceptionRemoteExceptionLogonDeniedException
-
getPasswordPolicy
String getPasswordPolicy(String user, String domain) throws InternalErrorException, InternalErrorException
Operation getPasswordPolicy- Parameters:
user-domain-- Returns:
- Throws:
InternalErrorException
-
changePassword
void changePassword(String user, String domain, String oldPassword, String newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException, InvalidPasswordException, RemoteException, InternalErrorException
Operation changePassword- Parameters:
user-domain-oldPassword-newPassword-- Throws:
InternalErrorExceptionBadPasswordExceptionInvalidPasswordExceptionRemoteException
-
propagatePassword
void propagatePassword(String user, String domain, String password) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation propagatePassword- Parameters:
user-domain-password-- Throws:
InternalErrorExceptionRemoteException
-
purgeChallenges
void purgeChallenges() throws InternalErrorExceptionOperation purgeChallenges- Throws:
InternalErrorException
-
registerChallenge
void registerChallenge(Challenge challenge) throws InternalErrorException
Operation registerChallenge- Parameters:
challenge-- Throws:
InternalErrorException
-
-