|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.IeConnectionSpec
used by applications in the "application managed sign on" scenario to pass userName and password when requesting a connection from a ConnectionFactory
Field Summary | |
private Principal |
authUser
|
private Locale |
locale
|
private String |
password
|
private String |
userName
|
Constructor Summary | |
IeConnectionSpec()
create a new connection spec with null userName and password |
|
IeConnectionSpec(String userName,
String password)
create a new connection spec with userName and password |
Method Summary | |
Principal |
getAuthUser()
get the "trusted" authenticated user. |
Locale |
getLocale()
get the request Locale |
String |
getPassword()
get the password |
String |
getUserName()
get the userName |
void |
setAuthUser(Principal p)
set the "trusted" authenticated user the server will only pay attention to this principal if the request is properly signed. |
void |
setLocale(Locale locale)
set the request Locale |
void |
setPassword(String password)
set the password |
void |
setUserName(String userName)
set the userName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String userName
private String password
private Locale locale
private Principal authUser
Constructor Detail |
public IeConnectionSpec()
public IeConnectionSpec(String userName, String password)
userName
- the userNamepassword
- the passwordMethod Detail |
public void setUserName(String userName)
userName
- the userName to usepublic String getUserName()
public void setPassword(String password)
password
- the password to usepublic String getPassword()
public void setLocale(Locale locale)
locale
- the locale to usepublic Locale getLocale()
public void setAuthUser(Principal p)
p
- public Principal getAuthUser()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |