Package com.soffid.iam.service.ejb
Interface PasswordService
-
public interface PasswordServiceEJB PasswordService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangePassword(String account, String dispatcher, Password oldPassword, Password newPassword)booleancheckExpiredPassword(String accoount, String dispatcher)booleancheckPassword(String account, String dispatcher, Password password, boolean checkTrusted, boolean checkExpired)booleancheckPin(String user, String pin)PolicyCheckResultcheckPolicy(String account, String dispatcher, Password password)StringgetDefaultDispatcher()CalendargetPasswordExpiredDate(String account, String dispatcher)StringgetPolicyDescription(String account, String dispatcher)
-
-
-
Method Detail
-
checkPassword
boolean checkPassword(String account, String dispatcher, Password password, boolean checkTrusted, boolean checkExpired) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
checkExpiredPassword
boolean checkExpiredPassword(String accoount, String dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
checkPin
boolean checkPin(String user, String pin) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
checkPolicy
PolicyCheckResult checkPolicy(String account, String dispatcher, Password password) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getDefaultDispatcher
String getDefaultDispatcher() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getPolicyDescription
String getPolicyDescription(String account, String dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getPasswordExpiredDate
Calendar getPasswordExpiredDate(String account, String dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
changePassword
void changePassword(String account, String dispatcher, Password oldPassword, Password newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException, InvalidPasswordException
-
-