org.surfnet.oaaas.consent
Class FormUserConsentHandler
java.lang.Object
org.surfnet.oaaas.auth.AbstractFilter
org.surfnet.oaaas.auth.AbstractUserConsentHandler
org.surfnet.oaaas.consent.FormUserConsentHandler
- All Implemented Interfaces:
- javax.servlet.Filter
@Named(value="formConsentHandler")
public class FormUserConsentHandler
- extends AbstractUserConsentHandler
Example AbstractUserConsentHandler that forwards to a form.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormUserConsentHandler
public FormUserConsentHandler()
handleUserConsent
public void handleUserConsent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
String authStateValue,
String returnUri,
Client client)
throws IOException,
javax.servlet.ServletException
- Specified by:
handleUserConsent in class AbstractUserConsentHandler
- Throws:
IOException
javax.servlet.ServletException
getUserConsentUrl
protected String getUserConsentUrl()
- Return the path to the User Consent page. Subclasses can use this hook by
providing a custom html/jsp.
- Returns:
- the path to the User Consent page
getUserConsentDeniedUrl
protected String getUserConsentDeniedUrl()
- Returns:
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.