rlevas opened a new pull request #61: KNOX-1793 - DefaultKeystoreService should 
not validate the signing key on initialization
URL: https://github.com/apache/knox/pull/61
 
 
   ## What changes were proposed in this pull request?
   
   Moved validation to 
`org.apache.knox.gateway.services.token.impl.DefaultTokenAuthorityService#start`.
   
   
   Added call to 
`org.apache.knox.gateway.services.token.impl.DefaultTokenAuthorityService#start`
 in `org.apache.knox.gateway.services.DefaultGatewayServices#start`.
   
   Created message resource values in 
`org.apache.knox.gateway.GatewayResources` to help manage error messages. 
   
   Added new unit tests.
   
   
   ## How was this patch tested?
   
   Ran unit tested
   
   Tested the following scenarios:
   * Existing Default signing keystore (gateway.jks) and aliases
   * Existing Custom signing keystore and aliaes
   * Missing default signing keystore - keystore created on start
   * Invalid master key (negative test)
   * Missing custom signing keystore (negative test)
   * Existing custom signing keystore with invalid password (negative test)
   * Existing custom signing keystore with invalid key alias (negative test)
   * Existing custom signing keystore with invalid key password (negative test)
   
   Please review [Knox Contributing 
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
 before opening a pull request.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to