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
| /* | |
| $Id$ | |
| Copyright (C) 2013 Virginia Tech. | |
| All rights reserved. | |
| SEE LICENSE FOR MORE INFORMATION | |
| Author: Middleware | |
| Email: middleware@vt.edu |
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
| <bean id="passwordHandler" | |
| class="org.jasig.cas.authentication.LdapAuthenticationHandler"> | |
| <!-- Details elided for simplicity --> | |
| </bean> | |
| <bean id="oneTimePasswordHandler" | |
| class="com.example.cas.authentication.CustomOTPAuthenticationHandler" | |
| p:name="oneTimePasswordHandler" /> | |
| <bean id="authenticationPolicy" |
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
| <bean id="ldapAuthenticationHandler" | |
| class="org.jasig.cas.authentication.LdapAuthenticationHandler" | |
| p:principalIdAttribute="sAMAccountName" | |
| c:authenticator-ref="authenticator"> | |
| <property name="principalAttributeMap"> | |
| <map> | |
| <!-- | |
| | This map provides a simple attribute resolution mechanism. | |
| | Keys are LDAP attribute names, values are CAS attribute names. | |
| | Use this facility instead of a PrincipalResolver if LDAP is |
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
| <bean id="ldapAuthenticationHandler" | |
| class="org.jasig.cas.authentication.LdapAuthenticationHandler" | |
| p:principalIdAttribute="uid" | |
| c:authenticator-ref="authenticator"> | |
| <property name="principalAttributeMap"> | |
| <map> | |
| <!-- | |
| | This map provides a simple attribute resolution mechanism. | |
| | Keys are LDAP attribute names, values are CAS attribute names. | |
| | This facility can be used instead or in addition to PrincipalResolver |
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
| <bean id="ldapAuthenticationHandler" | |
| class="org.jasig.cas.authentication.LdapAuthenticationHandler" | |
| p:principalIdAttribute="uid" | |
| c:authenticator-ref="authenticator"> | |
| <property name="principalAttributeMap"> | |
| <map> | |
| <!-- | |
| | This map provides a simple attribute resolution mechanism. | |
| | Keys are LDAP attribute names, values are CAS attribute names. | |
| | Use this facility instead of a PrincipalResolver if LDAP is |
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
| <bean id="ldapAuthenticationHandler" | |
| class="org.jasig.cas.authentication.LdapAuthenticationHandler" | |
| p:principalIdAttribute="uid" | |
| c:authenticator-ref="authenticator"> | |
| <property name="principalAttributeMap"> | |
| <map> | |
| <!-- | |
| | This map provides a simple attribute resolution mechanism. | |
| | Keys are LDAP attribute names, values are CAS attribute names. | |
| | Use this facility instead of a PrincipalResolver if LDAP is |
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.cas.services; | |
| import java.io.BufferedInputStream; | |
| import java.io.BufferedOutputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.FilenameFilter; | |
| import java.io.IOException; | |
| import java.io.InputStream; |
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: src/main/java/net/shibboleth/ext/spring/factory/PrivateKeyFactoryBean.java | |
| =================================================================== | |
| --- src/main/java/net/shibboleth/ext/spring/factory/PrivateKeyFactoryBean.java (revision 459) | |
| +++ src/main/java/net/shibboleth/ext/spring/factory/PrivateKeyFactoryBean.java (working copy) | |
| @@ -17,8 +17,6 @@ | |
| package net.shibboleth.ext.spring.factory; | |
| -import java.io.File; | |
| -import java.io.FileInputStream; |
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
| /* | |
| * Licensed to Jasig under one or more contributor license | |
| * agreements. See the NOTICE file distributed with this work | |
| * for additional information regarding copyright ownership. | |
| * Jasig licenses this file to you under the Apache License, | |
| * Version 2.0 (the "License"); you may not use this file | |
| * except in compliance with the License. You may obtain a | |
| * copy of the License at: | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
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/test/java/net/shibboleth/idp/test/flows/ExtensionFlowTest.java | |
| =================================================================== | |
| --- idp-conf/src/test/java/net/shibboleth/idp/test/flows/ExtensionFlowTest.java (revision 0) | |
| +++ idp-conf/src/test/java/net/shibboleth/idp/test/flows/ExtensionFlowTest.java (working copy) | |
| @@ -0,0 +1,37 @@ | |
| +/* | |
| + * Licensed to the University Corporation for Advanced Internet Development, | |
| + * Inc. (UCAID) under one or more contributor license agreements. See the | |
| + * NOTICE file distributed with this work for additional information regarding | |
| + * copyright ownership. The UCAID licenses this file to You under the Apache |