Class IdentityRequestValidator
java.lang.Object
fr.paris.lutece.plugins.identitystore.v1.web.rs.IdentityRequestValidator
util class used to validate identity store request
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientApplication(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 Details
-
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
-