summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/system/SecurityDomainResource.java
Commit message (Collapse)AuthorAgeFilesLines
* Added AuthMapping annotation.ticket-477-3ticket-474-7Endi Sukma Dewata2013-02-031-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
* Added REST interface to get domain info.Endi Sukma Dewata2012-10-261-0/+5
| | | | | | | | The REST interface for security domain has been updated to provide a method to get the domain info. A CLI has been provided to access this method. Ticket #309
* Enabled authentication for security domain REST interface.Endi Sukma Dewata2012-10-181-0/+38
The REST interface for security domain has been refactored and configured such that it requires authentication. A CLI has been added to get an installation token. Ticket #309