|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialsProvider
Provides the methods used for the authorization procedure.
Method Summary | |
---|---|
Credentials |
doKVP(Map<String,String> normalizedKVPParams,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
Extracts the Credentials from a KVP-request. |
Credentials |
doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc,
javax.servlet.http.HttpServletRequest req)
Extracts the Credentials from a SOAP-request. |
Credentials |
doXML(XMLStreamReader reader,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
Extracts the Credentials from an XML-request. |
void |
handleException(javax.servlet.http.HttpServletResponse response,
SecurityException e)
Handles a SecurityException and generates a suitable HTTP response. |
Method Detail |
---|
Credentials doKVP(Map<String,String> normalizedKVPParams, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response) throws SecurityException
Credentials
from a KVP-request.
normalizedKVPParams
- req
- response
-
null
if not credentials are given
SecurityException
Credentials doXML(XMLStreamReader reader, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response) throws SecurityException
Credentials
from an XML-request.
reader
- req
- response
-
null
if not credentials are given
SecurityException
Credentials doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc, javax.servlet.http.HttpServletRequest req) throws SecurityException
Credentials
from a SOAP-request.
soapDoc
- req
-
null
if not credentials are given
SecurityException
void handleException(javax.servlet.http.HttpServletResponse response, SecurityException e) throws IOException
SecurityException
and generates a suitable HTTP response.
response
- e
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |