Package com.soffid.iam.service.ejb
Interface PasswordService
-
public interface PasswordService
EJB PasswordService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changePassword(String account, String dispatcher, Password oldPassword, Password newPassword)
boolean
checkExpiredPassword(String accoount, String dispatcher)
boolean
checkPassword(String account, String dispatcher, Password password, boolean checkTrusted, boolean checkExpired)
boolean
checkPin(String user, String pin)
PolicyCheckResult
checkPolicy(String account, String dispatcher, Password password)
String
getDefaultDispatcher()
Calendar
getPasswordExpiredDate(String account, String dispatcher)
String
getPolicyDescription(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
-
-