Allow all read-only operations on KeystoreInstance to be available to services
------------------------------------------------------------------------------

                 Key: GERONIMO-2504
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2504
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: console, security
            Reporter: Guillaume Nodet
         Assigned To: Guillaume Nodet
             Fix For: 1.2


Currently, the only  operations available to services are SSL factory creations.
This is quite unsufficient when you need to use WS-Security for example to sign 
/ crypt / encrypt messages.
The attached patch has the following modifications:
  * add several methods to KeystoreInstance
  * all methods use a keystorePassword parameter used in the following way
      - write operations on keystore must be given a non-null password
      - read-only operations may be given a null password, in which case, the 
internal saved password will be used
  * all methods throw a KeystoreException
      existing exceptions have been refactored to inherit this exception
  * fix several keystore porlets problems: 
         - password is not validated
         - some actions fail when the keystore is not unlocked for use

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to