Package com.soffid.iam.am.service
Interface PasswordService
public interface PasswordService
Service PasswordService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidchangePassword(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 checkPasswordbooleanOperation checkPincheckPolicy(String account, String dispatcher, Password password) Operation checkPolicyOperation getDefaultDispatchergetPasswordExpiredDate(String account, String dispatcher) Operation getPasswordExpiredDategetPolicyDescription(String account, String dispatcher) Operation getPolicyDescription
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
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:
InternalErrorExceptionInternalErrorException
-
checkExpiredPassword
boolean checkExpiredPassword(String accoount, String dispatcher) throws InternalErrorException, InternalErrorException Operation checkExpiredPassword- Parameters:
accoount-dispatcher-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
checkPin
Operation checkPin- Parameters:
user-pin-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
checkPolicy
PolicyCheckResult checkPolicy(String account, String dispatcher, Password password) throws InternalErrorException, InternalErrorException Operation checkPolicy- Parameters:
account-dispatcher-password-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getDefaultDispatcher
Operation getDefaultDispatcher- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getPolicyDescription
String getPolicyDescription(String account, String dispatcher) throws InternalErrorException, InternalErrorException Operation getPolicyDescription- Parameters:
account-dispatcher-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getPasswordExpiredDate
Calendar getPasswordExpiredDate(String account, String dispatcher) throws InternalErrorException, InternalErrorException Operation getPasswordExpiredDate- Parameters:
account-dispatcher-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
changePassword
void changePassword(String account, String dispatcher, Password oldPassword, Password newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException, InvalidPasswordException Operation changePassword- Parameters:
account-dispatcher-oldPassword-newPassword-- Throws:
InternalErrorExceptionInternalErrorExceptionBadPasswordExceptionInvalidPasswordException
-