Class ActiveMQRACredential

    • Method Detail

      • getUserName

        public String getUserName()
        Get the user name
        Returns:
        The value
      • getPassword

        public String getPassword()
        Get the password
        Returns:
        The value
      • getCredential

        public static ActiveMQRACredential getCredential​(javax.resource.spi.ManagedConnectionFactory mcf,
                                                         Subject subject,
                                                         javax.resource.spi.ConnectionRequestInfo info)
                                                  throws javax.resource.spi.SecurityException
        Get credentials
        Parameters:
        mcf - The managed connection factory
        subject - The subject
        info - The connection request info
        Returns:
        The credentials
        Throws:
        javax.resource.spi.SecurityException - Thrown if the credentials can't be retrieved
      • toString

        public String toString()
        String representation
        Overrides:
        toString in class Object
        Returns:
        The representation