cdmikechen opened a new pull request, #979:
URL: https://github.com/apache/submarine/pull/979

   ### What is this PR for?
   Add simple type authentication for REST api.   
   Use [pac4j](https://www.pac4j.org/index.html) for token generation and 
validation. Considering need to adapt to java8, this PR is using 4.5.6 instead 
of version pac4j 5 for the time being.
   
   ### What type of PR is it?
   Feature
   
   ### Todos
   * [x] - Add some configs for authentication
   * [x] - Add `SimpleFilter`
   * [x] - Modified some login api processing logic (no logout available yet)
   * [x] - Add test case 
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1294
   
   ### How should this be tested?
   Have added a test case in 
`org.apache.submarine.server.security.SubmarineAuthSimpleTest`
   
   ### Screenshots (if appropriate)
   No
   
   ### Questions:
   * Do the license files need updating? No
   * Are there breaking changes for older versions? Yes
   * Does this need new documentation? Yes(link: 
https://github.com/apache/submarine/pull/975)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to