|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
com.infoengine.connector.IeConnectionSpec
public class IeConnectionSpec
used by applications in the "application managed sign on" scenario to pass userName and password when requesting a connection from a ConnectionFactory
| Constructor Summary | |
|---|---|
IeConnectionSpec()
create a new connection spec with null userName and password |
|
IeConnectionSpec(java.lang.String userName,
java.lang.String password)
create a new connection spec with userName and password |
|
| Method Summary | |
|---|---|
java.security.Principal |
getAuthUser()
get the "trusted" authenticated user. |
java.util.Locale |
getLocale()
get the request Locale |
java.lang.String |
getPassword()
get the password |
java.lang.String |
getUserName()
get the userName |
void |
setAuthUser(java.security.Principal p)
set the "trusted" authenticated user the server will only pay attention to this principal if the request is properly signed. |
void |
setLocale(java.util.Locale locale)
set the request Locale |
void |
setPassword(java.lang.String password)
set the password |
void |
setUserName(java.lang.String userName)
set the userName |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IeConnectionSpec()
public IeConnectionSpec(java.lang.String userName,
java.lang.String password)
userName - the userNamepassword - the password| Method Detail |
|---|
public void setUserName(java.lang.String userName)
userName - the userName to usepublic java.lang.String getUserName()
public void setPassword(java.lang.String password)
password - the password to usepublic java.lang.String getPassword()
public void setLocale(java.util.Locale locale)
locale - the locale to usepublic java.util.Locale getLocale()
public void setAuthUser(java.security.Principal p)
p - public java.security.Principal getAuthUser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||