|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SetupIF
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME_CONNECTION
|
static java.lang.String |
CLASSNAME_CONVERTER
|
static java.lang.String |
CONNECTION_MODE_SESSIONID
|
static java.lang.String |
CONNECTION_MODE_TOKEN
|
static java.lang.String |
CONNECTION_MODE_USERPASS
|
static java.lang.String |
NAMESPACE
|
static java.lang.String |
PKG_CONNECTION
|
static java.lang.String |
PKG_CONVERTER
|
static java.lang.String |
PROP_CONNECTION_CLIENTID
|
static java.lang.String |
PROP_CONNECTION_MODE
|
static java.lang.String |
PROP_CONNECTION_PASSWORD
|
static java.lang.String |
PROP_CONNECTION_SESSIONID
|
static java.lang.String |
PROP_CONNECTION_SHAREDSECRET
|
static java.lang.String |
PROP_CONNECTION_TOKEN
|
static java.lang.String |
PROP_CONNECTION_URI
|
static java.lang.String |
PROP_CONNECTION_USER
|
static java.lang.String |
PROP_DEBUG
|
static java.lang.String |
PROP_LOGFILE
|
static java.lang.String |
SESSION_ID
|
static java.lang.String |
URI_LOGIN
|
static java.lang.String |
URI_LOGOUT
|
static java.lang.String |
URI_RESOURCES
|
Method Summary | |
---|---|
ConnectionIF |
getConnection()
Get a connection to the Server anonymously. |
ConnectionIF |
getConnection(java.lang.String user)
Get a connection to the Server, using end-user id. |
ConnectionIF |
getConnection(java.lang.String user,
java.lang.String password)
Get a connection to the Server, using end-user name and password. |
boolean |
isDebug()
Get the debug flag. |
ConnectionIF |
useConnection(java.lang.String sessionId)
|
Field Detail |
---|
static final java.lang.String CLASSNAME_CONNECTION
static final java.lang.String CLASSNAME_CONVERTER
static final java.lang.String CONNECTION_MODE_SESSIONID
static final java.lang.String CONNECTION_MODE_TOKEN
static final java.lang.String CONNECTION_MODE_USERPASS
static final java.lang.String NAMESPACE
static final java.lang.String PKG_CONNECTION
static final java.lang.String PKG_CONVERTER
static final java.lang.String PROP_CONNECTION_CLIENTID
static final java.lang.String PROP_CONNECTION_MODE
static final java.lang.String PROP_CONNECTION_PASSWORD
static final java.lang.String PROP_CONNECTION_SESSIONID
static final java.lang.String PROP_CONNECTION_SHAREDSECRET
static final java.lang.String PROP_CONNECTION_TOKEN
static final java.lang.String PROP_CONNECTION_URI
static final java.lang.String PROP_CONNECTION_USER
static final java.lang.String PROP_DEBUG
static final java.lang.String PROP_LOGFILE
static final java.lang.String SESSION_ID
static final java.lang.String URI_LOGIN
static final java.lang.String URI_LOGOUT
static final java.lang.String URI_RESOURCES
Method Detail |
---|
ConnectionIF getConnection() throws ConnectionException, AuthenticationException
Get a connection to the Server anonymously.
ConnectionIF conn = setup.getConnection();
java.lang.Exception
ConnectionException
AuthenticationException
ConnectionIF getConnection(java.lang.String user) throws ConnectionException, AuthenticationException
Get a connection to the Server, using end-user id.
ConnectionIF conn = setup.getConnection("jdoe");
user
- String end-user id
java.lang.Exception
ConnectionException
AuthenticationException
ConnectionIF getConnection(java.lang.String user, java.lang.String password) throws ConnectionException, AuthenticationException
Get a connection to the Server, using end-user name and password.
ConnectionIF conn = setup.getConnection("jdoe","password");
user
- String end-user namepassword
- String end-user password
java.lang.Exception
ConnectionException
AuthenticationException
boolean isDebug()
ConnectionIF useConnection(java.lang.String sessionId) throws ConnectionException, AuthenticationException
sessionId
- String a current and valid session id
ConnectionException
AuthenticationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |