This file contains hidden or 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
| #!/usr/bin/env python | |
| import xml.etree.ElementTree as ET | |
| import urllib2 | |
| response = urllib2.urlopen('http://md.incommon.org/InCommon/InCommon-metadata.xml') | |
| try: | |
| data = response.read() | |
| finally: | |
| response.close() |
This file contains hidden or 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
| <html> | |
| <head> | |
| <title>Simple Web Animation</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
| </head> | |
| <body style="font-family:Helvetica,sans-serif"> | |
| <form> | |
| <fieldset style="border:2px solid #999; width:50%; margin:auto auto"> | |
| <label for="imgurl">Image URL</label> |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| #================================================================== | |
| # | |
| # Shibboleth IdP application control script. | |
| # Supported operations: | |
| # - start | |
| # - stop | |
| # - restart | |
| # - status |
This file contains hidden or 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
| Index: idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/X509AuthServlet.java | |
| =================================================================== | |
| --- idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/X509AuthServlet.java (revision 7486) | |
| +++ idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/X509AuthServlet.java (working copy) | |
| @@ -35,6 +35,7 @@ | |
| import net.shibboleth.idp.authn.ExternalAuthentication; | |
| import net.shibboleth.idp.authn.ExternalAuthenticationException; | |
| import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty; | |
| +import net.shibboleth.utilities.java.support.collection.Pair; | |
| import net.shibboleth.utilities.java.support.resolver.CriteriaSet; |
This file contains hidden or 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 edu.vt.middleware.idp.authn; | |
| import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty; | |
| import net.shibboleth.utilities.java.support.logic.Constraint; | |
| import net.shibboleth.utilities.java.support.resolver.CriteriaSet; | |
| import org.bouncycastle.asn1.x509.PolicyInformation; | |
| import org.cryptacular.x509.ExtensionReader; | |
| import org.opensaml.security.trust.TrustEngine; | |
| import org.opensaml.security.x509.X509Credential; | |
| import org.slf4j.Logger; |
This file contains hidden or 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
| Index: idp-conf/src/main/resources/conf/idp.properties | |
| =================================================================== | |
| --- idp-conf/src/main/resources/conf/idp.properties (revision 7643) | |
| +++ idp-conf/src/main/resources/conf/idp.properties (working copy) | |
| @@ -101,6 +101,12 @@ | |
| # usually in conjunction with the idp.authn.resolveAttribute property below. | |
| #idp.authn.flows.initial = Password | |
| +# If true the same constraints are applied to the initial authn flow as the | |
| +# "regular" authn flow to ensure the authentication requirements of the |
This file contains hidden or 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 edu.vt.middleware.idp.authn; | |
| import com.google.common.base.Function; | |
| import net.shibboleth.utilities.java.support.logic.Constraint; | |
| import net.shibboleth.utilities.java.support.logic.ConstraintViolationException; | |
| import org.ldaptive.*; | |
| import org.ldaptive.pool.Activator; | |
| import org.ldaptive.sasl.SaslConfig; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; |
This file contains hidden or 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
| Index: idp-conf/src/main/resources/system/conf/session-manager-system.xml | |
| =================================================================== | |
| --- idp-conf/src/main/resources/system/conf/session-manager-system.xml (revision 7797) | |
| +++ idp-conf/src/main/resources/system/conf/session-manager-system.xml (working copy) | |
| @@ -76,13 +76,15 @@ | |
| <!-- Built-in logout propagation flows. --> | |
| - <bean id="logoutprop/saml2" class="net.shibboleth.idp.session.LogoutPropagationFlowDescriptor"> | |
| - <property name="activationCondition"> |
This file contains hidden or 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
| Index: opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractBatchMetadataResolver.java | |
| =================================================================== | |
| --- opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractBatchMetadataResolver.java (revision 4412) | |
| +++ opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractBatchMetadataResolver.java (working copy) | |
| @@ -25,10 +25,7 @@ | |
| import net.shibboleth.utilities.java.support.component.ComponentInitializationException; | |
| import net.shibboleth.utilities.java.support.component.ComponentSupport; | |
| -import net.shibboleth.utilities.java.support.resolver.CriteriaSet; | |
| -import net.shibboleth.utilities.java.support.resolver.ResolverException; |
This file contains hidden or 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
| import org.jasig.cas.client.util.AssertionHolder; | |
| import org.jasig.cas.client.validation.Assertion; | |
| import org.jasig.cas.client.authentication.AttributePrincipal; | |
| /** | |
| * Helper class that reads data from CAS assertion. | |
| * Prerequisite: Must have configured AssertionThreadLocalFilter as described at | |
| * https://github.com/jasig/java-cas-client#orgjasigcasclientutilassertionthreadlocalfilter. | |
| * Depends on ThreadLocal under the hood, so not suitable for servlet 3.0 async usage. | |
| */ |