Class ActiveMQRACredential

  • All Implemented Interfaces:
    java.io.Serializable

    public class ActiveMQRACredential
    extends java.lang.Object
    implements java.io.Serializable
    Credential information
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ActiveMQRACredential getCredential​(javax.resource.spi.ManagedConnectionFactory mcf, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo info)
      Get credentials
      java.lang.String getPassword()
      Get the password
      java.lang.String getUserName()
      Get the user name
      java.lang.String toString()
      String representation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getUserName

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

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

        public static ActiveMQRACredential getCredential​(javax.resource.spi.ManagedConnectionFactory mcf,
                                                         javax.security.auth.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 java.lang.String toString()
        String representation
        Overrides:
        toString in class java.lang.Object
        Returns:
        The representation