|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.JBMCredential
public class JBMCredential
Credential information
Method Summary | |
---|---|
static JBMCredential |
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 |
---|
public java.lang.String getUserName()
public java.lang.String getPassword()
public static JBMCredential getCredential(javax.resource.spi.ManagedConnectionFactory mcf, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.spi.SecurityException
mcf
- The managed connection factorysubject
- The subjectinfo
- The connection request info
javax.resource.spi.SecurityException
- Thrown if the credentials cant be retrievedpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |