Package com.soffid.iam.service
Interface PasswordService
-
public interface PasswordServiceService PasswordService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangePassword(String account, String dispatcher, Password oldPassword, Password newPassword)Operation changePasswordbooleancheckExpiredPassword(String accoount, String dispatcher)Operation checkExpiredPasswordbooleancheckPassword(String account, String dispatcher, Password password, boolean checkTrusted, boolean checkExpired)Operation checkPasswordbooleancheckPin(String user, String pin)Operation checkPinPolicyCheckResultcheckPolicy(String account, String dispatcher, Password password)Operation checkPolicyStringgetDefaultDispatcher()Operation getDefaultDispatcherCalendargetPasswordExpiredDate(String account, String dispatcher)Operation getPasswordExpiredDateStringgetPolicyDescription(String account, String dispatcher)Operation getPolicyDescription
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkPassword
boolean checkPassword(String account, String dispatcher, Password password, boolean checkTrusted, boolean checkExpired) throws InternalErrorException, InternalErrorException
Operation checkPassword- Parameters:
account-dispatcher-password-checkTrusted-checkExpired-- Returns:
- Throws:
InternalErrorException
-
checkExpiredPassword
boolean checkExpiredPassword(String accoount, String dispatcher) throws InternalErrorException, InternalErrorException
Operation checkExpiredPassword- Parameters:
accoount-dispatcher-- Returns:
- Throws:
InternalErrorException
-
checkPin
boolean checkPin(String user, String pin) throws InternalErrorException, InternalErrorException
Operation checkPin- Parameters:
user-pin-- Returns:
- Throws:
InternalErrorException
-
checkPolicy
PolicyCheckResult checkPolicy(String account, String dispatcher, Password password) throws InternalErrorException, InternalErrorException
Operation checkPolicy- Parameters:
account-dispatcher-password-- Returns:
- Throws:
InternalErrorException
-
getDefaultDispatcher
String getDefaultDispatcher() throws InternalErrorException, InternalErrorException
Operation getDefaultDispatcher- Returns:
- Throws:
InternalErrorException
-
getPolicyDescription
String getPolicyDescription(String account, String dispatcher) throws InternalErrorException, InternalErrorException
Operation getPolicyDescription- Parameters:
account-dispatcher-- Returns:
- Throws:
InternalErrorException
-
getPasswordExpiredDate
Calendar getPasswordExpiredDate(String account, String dispatcher) throws InternalErrorException, InternalErrorException
Operation getPasswordExpiredDate- Parameters:
account-dispatcher-- Returns:
- Throws:
InternalErrorException
-
changePassword
void changePassword(String account, String dispatcher, Password oldPassword, Password newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException, InvalidPasswordException
Operation changePassword- Parameters:
account-dispatcher-oldPassword-newPassword-- Throws:
InternalErrorExceptionBadPasswordExceptionInvalidPasswordException
-
-