Class SecurityManagerImpl


  • public class SecurityManagerImpl
    extends Object
    Class Declaration for Class1
    Author:
    Farrukh S. Najmi
    • Constructor Detail

      • SecurityManagerImpl

        public SecurityManagerImpl()
    • Method Detail

      • addAuthenticationTokens

        public Object addAuthenticationTokens​(Object request)
                                       throws javax.xml.registry.JAXRException
        Adds the authentication tokens (information) to the specified request as required by the spefic target registry provider. The request is a registry provider specific object.
        Returns:
        Object that is the modified request with the authentication info added.
        Throws:
        javax.xml.registry.JAXRException
      • signRequest

        public Object signRequest​(Object request)
                           throws javax.xml.registry.JAXRException
        Digitally sign the specified request as required by the spefic target registry provider. The request is a registry provider specific object.
        Returns:
        Object that is the modified request with the digital signature added.
        Throws:
        javax.xml.registry.JAXRException
      • validateRequest

        public void validateRequest​(Object response)
                             throws javax.xml.registry.JAXRException
        Validate the digitally signature in the specified response. The reponse is a registry provider specific object. Throws an InvalidObjectException??
        Throws:
        javax.xml.registry.JAXRException
      • encryptRequest

        public Object encryptRequest​(Object request)
                              throws javax.xml.registry.JAXRException
        Encrypt the specified request as required by the spefic target registry provider. The request is a registry provider specific object.
        Returns:
        Object that is the encrypted request.
        Throws:
        javax.xml.registry.JAXRException
      • decryptRequest

        public Object decryptRequest​(Object request)
                              throws javax.xml.registry.JAXRException
        Decrypt the specified response The response is a registry provider specific object.
        Returns:
        Object that is the decrypted response.
        Throws:
        javax.xml.registry.JAXRException