Class IdentityRequestValidator
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v2.web.rs.IdentityRequestValidator
-
public final class IdentityRequestValidator extends java.lang.Objectutil class used to validate identity store request
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientApplication(java.lang.String strClientCode)check whether the parameters related to the application are valid or notvoidcheckIdentity(java.lang.String strConnectionId, java.lang.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(java.lang.String strClientCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptioncheck 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 validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
checkIdentity
public void checkIdentity(java.lang.String strConnectionId, java.lang.String strCustomerId) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptioncheck 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 validfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-