Package org.apache.activemq.artemis.ra
Class ActiveMQRACredential
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ActiveMQRACredential
-
- All Implemented Interfaces:
Serializable
public class ActiveMQRACredential extends Object implements Serializable
Credential information- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActiveMQRACredentialgetCredential(javax.resource.spi.ManagedConnectionFactory mcf, Subject subject, javax.resource.spi.ConnectionRequestInfo info)Get credentialsStringgetPassword()Get the passwordStringgetUserName()Get the user nameStringtoString()String representation
-
-
-
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 factorysubject- The subjectinfo- The connection request info- Returns:
- The credentials
- Throws:
javax.resource.spi.SecurityException- Thrown if the credentials can't be retrieved
-
-