Package es.caib.seycon.ng.servei
Class PasswordServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.PasswordServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.PasswordService
public class PasswordServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.PasswordService
Spring Service base class for
see es.caib.seycon.ng.servei.PasswordServicees.caib.seycon.ng.servei.PasswordService
, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description PasswordServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changePassword(String account, String dispatcher, es.caib.seycon.ng.comu.Password oldPassword, es.caib.seycon.ng.comu.Password newPassword)
boolean
checkPassword(String account, String dispatcher, es.caib.seycon.ng.comu.Password password, boolean checkTrusted, boolean checkExpired)
boolean
checkPasswordExpired(String accoount, String dispatcher)
boolean
checkPin(String user, String pin)
es.caib.seycon.ng.comu.PolicyCheckResult
checkPolicy(String account, String dispatcher, es.caib.seycon.ng.comu.Password password)
String
getDefaultDispatcher()
Calendar
getPasswordExpiredDate(String account, String dispatcher)
com.soffid.iam.service.PasswordService
getPasswordService()
Gets reference topasswordService
.String
getPolicyDescription(String account, String dispatcher)
protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.void
setPasswordService(com.soffid.iam.service.PasswordService passwordService)
Sets reference topasswordService
.
-
-
-
Method Detail
-
setPasswordService
public void setPasswordService(com.soffid.iam.service.PasswordService passwordService)
Sets reference topasswordService
.
-
getPasswordService
public com.soffid.iam.service.PasswordService getPasswordService()
Gets reference topasswordService
.
-
checkPassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean checkPassword(String account, String dispatcher, es.caib.seycon.ng.comu.Password password, boolean checkTrusted, boolean checkExpired) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPassword
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
checkPasswordExpired
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean checkPasswordExpired(String accoount, String dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPasswordExpired
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
checkPin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean checkPin(String user, String pin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPin
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
checkPolicy
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.PolicyCheckResult checkPolicy(String account, String dispatcher, es.caib.seycon.ng.comu.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPolicy
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getDefaultDispatcher
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String getDefaultDispatcher() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDefaultDispatcher
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPolicyDescription
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String getPolicyDescription(String account, String dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPolicyDescription
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPasswordExpiredDate
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Calendar getPasswordExpiredDate(String account, String dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getPasswordExpiredDate
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
changePassword
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void changePassword(String account, String dispatcher, es.caib.seycon.ng.comu.Password oldPassword, es.caib.seycon.ng.comu.Password newPassword) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException, es.caib.seycon.ng.exception.InvalidPasswordException
- Specified by:
changePassword
in interfacees.caib.seycon.ng.servei.PasswordService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.BadPasswordException
es.caib.seycon.ng.exception.InvalidPasswordException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-