org.xmlBlaster.j2ee.k2
Class BlasterCred
java.lang.Object
org.xmlBlaster.j2ee.k2.BlasterCred
public class BlasterCred
- extends java.lang.Object
Carries user credentials inside this ra.
- Version:
- $Revision: 1.3 $
- Author:
- Peter Antman
Field Summary |
java.lang.String |
name
The user name, from either the ConnectionRequestInfo, the Subject or the default configuration. |
java.lang.String |
pwd
The password, from either the ConnectionRequestInfo, the Subject or the default configuration. |
Method Summary |
static BlasterCred |
getBlasterCred(javax.resource.spi.ManagedConnectionFactory mcf,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
Get our own simple cred. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
- The user name, from either the ConnectionRequestInfo, the Subject or the default configuration.
pwd
public java.lang.String pwd
- The password, from either the ConnectionRequestInfo, the Subject or the default configuration.
BlasterCred
public BlasterCred()
getBlasterCred
public static BlasterCred getBlasterCred(javax.resource.spi.ManagedConnectionFactory mcf,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.spi.SecurityException
- Get our own simple cred.
The search order is this: info, subject, default config from mcf. If no user is found in any of these a SecurityException is thrown.
- Throws:
javax.resource.spi.SecurityException
Copyright © 1999-2014 The xmlBlaster.org contributers.