This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-app> | |
<module-name>web-module-1</module-name> | |
<filter> | |
<filter-name>CustomSecurityFilter</filter-name> | |
<filter-class>cross.context.security.filter.CustomSecurityFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>CustomSecurityFilter</filter-name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-app> | |
<module-name>login-module</module-name> | |
<servlet> | |
<servlet-name>RedirectServlet</servlet-name> | |
<servlet-class>cross.context.test.suite.RedirectServlet</servlet-class> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>RedirectServlet</servlet-name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cross.context.test.suite; | |
import java.io.IOException; | |
import java.util.Base64; | |
import java.util.UUID; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.Cookie; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sso.cross.context.security.filter; | |
import java.io.IOException; | |
import java.util.Base64; | |
import java.util.Optional; | |
import java.util.stream.Stream; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" | |
xmlns="urn:oasis:names:tc:SAML:2.0:assertion" | |
Destination="https://login.cern.ch/adfs/ls/" | |
ForceAuthn="false" | |
ID="xxxxxx" | |
IsPassive="false" | |
IssueInstant="2018-05-28T10:06:40.189Z" | |
Version="2.0" | |
> | |
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://my.app.com/examples/</saml:Issuer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" | |
xmlns="urn:oasis:names:tc:SAML:2.0:assertion" | |
Destination="https://login.cern.ch/adfs/ls/?wa=wsignout1.0" | |
ID="..." | |
IssueInstant="2018-05-17T09:35:31.362Z" | |
Version="2.0" | |
> | |
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://.../examples/</saml:Issuer> | |
<saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" | |
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<samlp:Response ID="_cabc2708-7639-4500-ad89-bfb0e8714f0a" | |
Version="2.0" | |
IssueInstant="2018-05-16T09:42:53.744Z" | |
Destination="https://.../examples/saml" | |
Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified" | |
InResponseTo="..." | |
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" | |
> | |
<Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">https://cern.ch/login</Issuer> | |
<samlp:Status> |
NewerOlder