The following document contains the results of PMD's CPD 6.13.0.
File | Line |
---|---|
fr/paris/lutece/plugins/identitystore/v3/web/rs/service/ClientApplicationTransportRest.java | 110 |
fr/paris/lutece/plugins/identitystore/v3/web/rs/service/ClientApplicationTransportRest.java | 125 |
public ClientChangeResponse createClient( ClientApplicationDto clientDto, String strClientCode, RequestAuthor author ) throws IdentityStoreException { IdentityRequestValidator.instance( ).checkClientApplicationDto( clientDto ); this.checkCommonHeaders( strClientCode, author ); final Map<String, String> mapHeadersRequest = new HashMap<>( ); mapHeadersRequest.put( Constants.PARAM_CLIENT_CODE, strClientCode ); mapHeadersRequest.put( Constants.PARAM_AUTHOR_NAME, author.getName( ) ); mapHeadersRequest.put( Constants.PARAM_AUTHOR_TYPE, author.getType( ).name( ) ); final String url = _strIdentityStoreEndPoint + _strIdentityPath + Constants.VERSION_PATH_V3 + Constants.CLIENT_PATH; |