|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.services.authentication.DeegreeAuthentication
public class DeegreeAuthentication
deegree Authentication.
This is a deegree specific authentication that uses the possibilities of KVP to append the username and password as well as the sessionID in the URL.
| Constructor Summary | |
|---|---|
DeegreeAuthentication()
|
|
| Method Summary | |
|---|---|
Credentials |
doKVP(java.util.Map<java.lang.String,java.lang.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(javax.xml.stream.XMLStreamReader xmlStream,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeegreeAuthentication()
| Method Detail |
|---|
public Credentials doKVP(java.util.Map<java.lang.String,java.lang.String> normalizedKVPParams,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws SecurityException,
java.security.AccessControlException
CredentialsProviderCredentials from a KVP-request.
doKVP in interface CredentialsProvidernull if not credentials are given
SecurityException
java.security.AccessControlException
public Credentials doXML(javax.xml.stream.XMLStreamReader xmlStream,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws SecurityException
CredentialsProviderCredentials from an XML-request.
doXML in interface CredentialsProvidernull if not credentials are given
SecurityException
public Credentials doSOAP(org.apache.axiom.soap.SOAPEnvelope soapDoc,
javax.servlet.http.HttpServletRequest req)
CredentialsProviderCredentials from a SOAP-request.
doSOAP in interface CredentialsProvidernull if not credentials are given
public void handleException(javax.servlet.http.HttpServletResponse response,
SecurityException e)
throws java.io.IOException
CredentialsProviderSecurityException and generates a suitable HTTP response.
handleException in interface CredentialsProviderjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||