|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object osdep.cache.CacheProxyAuthenticationSource
public class CacheProxyAuthenticationSource
It happens that the user id and passwords are checked more than once in this library. This means that ConsoleProxyAuthenticationSource asks these information to the user more than once, which is not acceptable. Putting an instance of this class in the middle, the values are cached and so they are asked only once.
Constructor Summary | |
---|---|
CacheProxyAuthenticationSource(IProxyAuthenticationSource source)
|
Method Summary | |
---|---|
java.lang.String |
getProxyPassword()
The password to authenticate to the proxy |
java.lang.String |
getProxyUserId()
The user id to authenticate to the proxy |
boolean |
needsProxyAuthentication()
Do the proxy need authentication? |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheProxyAuthenticationSource(IProxyAuthenticationSource source)
source
- Method Detail |
---|
public java.lang.String getProxyPassword()
IProxyAuthenticationSource
getProxyPassword
in interface IProxyAuthenticationSource
public java.lang.String getProxyUserId()
IProxyAuthenticationSource
getProxyUserId
in interface IProxyAuthenticationSource
public boolean needsProxyAuthentication()
IProxyAuthenticationSource
needsProxyAuthentication
in interface IProxyAuthenticationSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |