summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/key/KeyResource.java
Commit message (Collapse)AuthorAgeFilesLines
* Added AuthMapping annotation.ticket-477-1Endi Sukma Dewata2013-02-021-0/+2
| | | | | | | | | | | | | | | | A new AuthMapping annotation has been added to configure the required authentication methods to acces each REST method. The annotation maps each method into a list of authentication methods in auth.properties. For security reason, 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 installation token from the security domain. Previously the auth.properties files were used to store ACL mappings. Now the ACL mappings have been moved into acl.properties. 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
* Enabled authentication for key services.Endi Sukma Dewata2012-10-291-6/+2
| | | | | | | | The web.xml in KRA has been modified to enable the authentication for key and key request services. Some tools have been added to access the services via command-line. Ticket #376
* Reorganized REST common classes.Endi Sukma Dewata2012-08-151-0/+45
The common classes used by REST client and services have been moved into the com.netscape.certsrv.<component> packages. Ticket #215