|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IAuthSession. Maintain the HTTP security session state. A single AuthSession may be shared between many theads.
| Method Summary | |
boolean |
authenticateRealm(XURL host,
OutboundHTTPRequest request,
AuthHeaderData authData)
Given the data from a WWW-Authenticate challenge header, plus locally maintained state, calculate the appropriate response and add it to the outgoing request. |
PasswordCredentials |
getCredentials()
|
AuthHeaderData |
parseAuthHeader(java.lang.String header)
Given a WWW-Authenticate challenge header, parse it and return the results as an AuthHeaderData. |
void |
preAuthenticate(XURL host,
OutboundHTTPRequest request)
If we have enough information to add an authentication header, then add it. |
void |
setCredentials(PasswordCredentials credentials)
Users specify credentials as user names and passwords. |
| Method Detail |
public AuthHeaderData parseAuthHeader(java.lang.String header)
header - WWWAuthenticate header
public boolean authenticateRealm(XURL host,
OutboundHTTPRequest request,
AuthHeaderData authData)
host - Serverrequest - authData - Information from WWW-Authenticate header
public void preAuthenticate(XURL host,
OutboundHTTPRequest request)
host - request - public void setCredentials(PasswordCredentials credentials)
credentials - public PasswordCredentials getCredentials()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||