Class IdentityRequestValidator
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v1.web.rs.IdentityRequestValidator
-
public final class IdentityRequestValidator extends Object
util class used to validate identity store request
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientApplication(String strClientCode)check whether the parameters related to the application are valid or notvoidcheckIdentity(String strConnectionId, String strCustomerId)check whether the parameters related to the identity are valid or notstatic IdentityRequestValidatorinstance()return singleton's instance
-
-
-
Method Detail
-
instance
public static IdentityRequestValidator instance()
return singleton's instance- Returns:
- IdentityRequestValidator
-
checkClientApplication
public void checkClientApplication(String strClientCode) throws fr.paris.lutece.portal.service.util.AppException
check whether the parameters related to the application are valid or not- Parameters:
strClientCode- client application code- Throws:
fr.paris.lutece.portal.service.util.AppException- if the parameters are not valid
-
checkIdentity
public void checkIdentity(String strConnectionId, String strCustomerId) throws fr.paris.lutece.portal.service.util.AppException
check whether the parameters related to the identity are valid or not- Parameters:
strConnectionId- the connection idstrCustomerId- the customer id- Throws:
fr.paris.lutece.portal.service.util.AppException- if the parameters are not valid
-
-