|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.security.pki.AbstractManagedConnectionFactory
public abstract class AbstractManagedConnectionFactory
Abstract Managed Connection Factory
| Constructor Summary | |
|---|---|
AbstractManagedConnectionFactory()
|
|
| Method Summary | |
|---|---|
Object |
createConnectionFactory()
|
Object |
createConnectionFactory(ConnectionManager connectionManager)
|
boolean |
equals(Object that)
Overriding equals() is required. |
String |
getConnectionURL()
Retrieve connectionURL. |
protected PasswordCredential |
getCredential(Subject subject,
boolean mandatory)
|
String |
getKeyStoreType()
Retrieve keyStoreType. |
PrintWriter |
getLogWriter()
|
protected char[][] |
getPassPhrases(PasswordCredential credential)
Retrieve the first pass phrase encoded in the credential's password field |
String |
getPassPhraseSeparator()
Retrieve passPhraseSeparator. |
protected String |
getPassword()
Retrieve password. |
String |
getUserName()
Retrieve userName. |
int |
hashCode()
Overriding hashCode() is required. |
protected ResourceException |
log(ResourceException exception)
Log and return an exception |
ManagedConnection |
matchManagedConnections(Set managedConnections,
Subject subject,
ConnectionRequestInfo connectionRequestInfo)
|
void |
setConnectionURL(String connectionURL)
Set connectionURL. |
void |
setKeyStoreType(String keyStoreType)
Set keyStoreType. |
void |
setLogWriter(PrintWriter logWriter)
|
void |
setPassPhraseSeparator(String passPhraseSeparator)
Set passPhraseSeparator. |
void |
setPassword(String password)
Set password. |
void |
setUserName(String userName)
Set userName. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
|---|
createManagedConnection |
| Constructor Detail |
|---|
public AbstractManagedConnectionFactory()
| Method Detail |
|---|
public final Object createConnectionFactory()
throws ResourceException
createConnectionFactory in interface ManagedConnectionFactoryResourceException
public final Object createConnectionFactory(ConnectionManager connectionManager)
throws ResourceException
createConnectionFactory in interface ManagedConnectionFactoryResourceException
public final PrintWriter getLogWriter()
throws ResourceException
getLogWriter in interface ManagedConnectionFactoryResourceException
public final ManagedConnection matchManagedConnections(Set managedConnections,
Subject subject,
ConnectionRequestInfo connectionRequestInfo)
throws ResourceException
matchManagedConnections in interface ManagedConnectionFactoryResourceException
protected PasswordCredential getCredential(Subject subject,
boolean mandatory)
throws ResourceException
subject -
ResourceException
protected final char[][] getPassPhrases(PasswordCredential credential)
throws ResourceException
credential -
ResourceException
public final void setLogWriter(PrintWriter logWriter)
throws ResourceException
setLogWriter in interface ManagedConnectionFactoryResourceExceptionpublic final String getConnectionURL()
public final void setConnectionURL(String connectionURL)
connectionURL - The connectionURL to set.public final String getKeyStoreType()
public final void setKeyStoreType(String keyStoreType)
keyStoreType - The keyStoreType to set.public final String getPassPhraseSeparator()
public final void setPassPhraseSeparator(String passPhraseSeparator)
passPhraseSeparator - The passPhraseSeparator to set.protected final ResourceException log(ResourceException exception)
an - exception
public final void setPassword(String password)
password - The password to set.protected final String getPassword()
public final String getUserName()
public final void setUserName(String userName)
userName - The userName to set.public boolean equals(Object that)
equals in interface ManagedConnectionFactoryequals in class Objectpublic int hashCode()
hashCode in interface ManagedConnectionFactoryhashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||