|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jguard.authentication.AuthenticationConnectionFactory
public final class AuthenticationConnectionFactory
Factory for Database Connection.
| Constructor Summary | |
|---|---|
AuthenticationConnectionFactory()
|
|
| Method Summary | |
|---|---|
static java.sql.Connection |
getConnection(java.lang.String key,
boolean jndi)
Returns a database connection, encapsulating the DAO details. |
static void |
init(java.util.Map opts)
initialise connection settings for the specified webapp in the map (with the applicationName parameter). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationConnectionFactory()
| Method Detail |
|---|
public static final java.sql.Connection getConnection(java.lang.String key,
boolean jndi)
key - string which contains applicationName, and, if this application is "secured" (in a jGuard notion),
"|" and the applicationPasswordjndi - true if the connection is reachable with the jndi abstraction,
false if we should reach connection through the DriverManager
public static final void init(java.util.Map opts)
opts -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||