nl.surfnet.coin.api.saml
Class SAMLAuthenticationEntryPoint

java.lang.Object
  extended by nl.surfnet.coin.api.saml.SAMLAuthenticationEntryPoint
All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint

public class SAMLAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint

SamlAuthenticationEntryPoint.java


Constructor Summary
SAMLAuthenticationEntryPoint()
           
 
Method Summary
 void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
           
 org.opensaml.saml2.core.RequesterID createRequesterID(String id)
          Simple builder
 String getSPEntityIdByRequest(javax.servlet.http.HttpServletRequest request)
          Get the SP Entity ID from the OAuth client id in the HTTP request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLAuthenticationEntryPoint

public SAMLAuthenticationEntryPoint()
Method Detail

commence

public void commence(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     org.springframework.security.core.AuthenticationException authException)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
commence in interface org.springframework.security.web.AuthenticationEntryPoint
Throws:
IOException
javax.servlet.ServletException

getSPEntityIdByRequest

public String getSPEntityIdByRequest(javax.servlet.http.HttpServletRequest request)
Get the SP Entity ID from the OAuth client id in the HTTP request


createRequesterID

public org.opensaml.saml2.core.RequesterID createRequesterID(String id)
Simple builder



Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.