Package es.caib.seycon.ng.sync.servei
Interface LogonService
-
public interface LogonService
Service LogonService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changePassword(String user, String domain, String oldPassword, String newPassword)
Operation changePasswordChallenge
getChallenge(String challengeId)
Operation getChallengeString
getPasswordPolicy(String user, String domain)
Operation getPasswordPolicyboolean
mustChangePassword(String user, String domain)
Operation mustChangePasswordvoid
propagatePassword(String user, String domain, String password)
Operation propagatePasswordvoid
purgeChallenges()
Operation purgeChallengesvoid
registerChallenge(Challenge challenge)
Operation registerChallengeChallenge
requestChallenge(int type, String user, String domain, String host, String clientHost, int cardSupport)
Operation requestChallengeSessio
responseChallenge(Challenge result)
Operation responseChallengePasswordValidation
validatePassword(String user, String passwordDomain, String password)
Operation validatePasswordboolean
validatePIN(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:
InternalErrorException
RemoteException
-
validatePIN
boolean validatePIN(String user, String pin) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation validatePIN- Parameters:
user
-pin
-- Returns:
- Throws:
InternalErrorException
RemoteException
-
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:
InternalErrorException
RemoteException
LogonDeniedException
UnknownUserException
-
validatePassword
PasswordValidation validatePassword(String user, String passwordDomain, String password) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation validatePassword- Parameters:
user
-passwordDomain
-password
-- Returns:
- Throws:
InternalErrorException
RemoteException
-
responseChallenge
Sessio responseChallenge(Challenge result) throws InternalErrorException, InternalErrorException, RemoteException, LogonDeniedException, InternalErrorException
Operation responseChallenge- Parameters:
result
-- Returns:
- Throws:
InternalErrorException
RemoteException
LogonDeniedException
-
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:
InternalErrorException
BadPasswordException
InvalidPasswordException
RemoteException
-
propagatePassword
void propagatePassword(String user, String domain, String password) throws InternalErrorException, InternalErrorException, RemoteException, InternalErrorException
Operation propagatePassword- Parameters:
user
-domain
-password
-- Throws:
InternalErrorException
RemoteException
-
purgeChallenges
void purgeChallenges() throws InternalErrorException
Operation purgeChallenges- Throws:
InternalErrorException
-
registerChallenge
void registerChallenge(Challenge challenge) throws InternalErrorException
Operation registerChallenge- Parameters:
challenge
-- Throws:
InternalErrorException
-
-