summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/user/UserResource.java
Commit message (Collapse)AuthorAgeFilesLines
* Added authentication method validation.Endi Sukma Dewata2013-02-191-0/+2
| | | | | | | | | | | | | | | A new mechanism has been added to specify the authentication methods that can be used to invoke the REST methods. The AuthMethodMapping annotation maps each REST method to a list of allowed authentication methods. When a client calls a REST method, the AuthMethodInterceptor will intercept the call and verify that the client uses an allowed authentication method. Most REST methods that require authentication have been configured to require client certificate authentication. Authentication using username and password will only be used to get the installation token from security domain. Ticket #477
* Added ACLInterceptor.Endi Sukma Dewata2012-11-081-0/+3
| | | | | | | | | Previously ACL checking was done in PKIRealm by matching the URL. This code has been replaced by ACLInterceptor which will intercept RESTEasy method invocations. This allows more precise mapping of REST methods to ACL entries in acl.ldif. Ticket #287
* Moved REST services into separate URLs.Endi Sukma Dewata2012-08-031-4/+4
| | | | | | | | | | | To support different access control configurations the REST services have been separated by roles. Services that don't need authentication will be available under /rest. Services that require agent rights will be available under /rest/agent. Services that require admin rights will be available under /rest/admin. Ticket #107
* Added user REST service.Endi Sukma Dewata2012-05-311-0/+69
The user REST service is based on UsrGrpAdminServlet. It provides an interface to manage users and user certificates. Ticket #160