|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipServletRequestExt
Interface Extension that adds extra features to the JSR 289 SipServetRequest interface. It adds the following capabilities :
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.servlet.sip.SipServletMessage |
|---|
SipServletMessage.HeaderForm |
| Method Summary | |
|---|---|
void |
addAuthHeader(SipServletResponse challengeResponse,
AuthInfo authInfo,
boolean cacheCredentials)
This method allows the addition of the appropriate authentication header(s) to the request that was challenged with a challenge response. |
void |
addAuthHeader(SipServletResponse challengeResponse,
String username,
String password,
boolean cacheCredentials)
This method allows the addition of the appropriate authentication header(s) to the request that was challenged with a challenge response without needing the creation and/or maintenance of the AuthInfo object. |
| Methods inherited from interface javax.servlet.sip.SipServletRequest |
|---|
addAuthHeader, addAuthHeader, createCancel, createResponse, createResponse, getB2buaHelper, getInitialPoppedRoute, getInputStream, getMaxForwards, getPoppedRoute, getProxy, getProxy, getReader, getRegion, getRequestURI, getRoutingDirective, getSubscriberURI, isInitial, pushPath, pushRoute, pushRoute, send, setMaxForwards, setRequestURI, setRoutingDirective |
| Methods inherited from interface javax.servlet.ServletRequest |
|---|
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
| Method Detail |
|---|
void addAuthHeader(SipServletResponse challengeResponse,
AuthInfo authInfo,
boolean cacheCredentials)
challengeResponse - The challenge response (401/407) receieved from a UAS/Proxy.authInfo - The AuthInfo object that will add the Authentication headers to the request.cacheCredentials - true if the user's credentials should be cached
void addAuthHeader(SipServletResponse challengeResponse,
String username,
String password,
boolean cacheCredentials)
challengeResponse - the challenge response (401/407) receieved from a UAS/Proxy.username - usernamepassword - passwordcacheCredentials - true if the user's credentials should be cached for that realm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||