[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java
noreply at shibboleth.net
noreply at shibboleth.net
Thu Oct 17 16:47:55 EDT 2013
Author: scantor
Date: Thu Oct 17 16:47:55 2013
New Revision: 4874
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4874&view=rev
Log:
Relax collection type.
Modified:
trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java
Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java?rev=4874&r1=4873&r2=4874&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExtractRemoteUser.java Thu Oct 17 16:47:55 2013
@@ -17,6 +17,7 @@
package net.shibboleth.idp.authn.impl;
+import java.util.Collection;
import java.util.Collections;
import java.util.List;
@@ -91,7 +92,7 @@
*
* @param attributes list of request attributes to check
*/
- void setCheckAttributes(@Nonnull @NonnullElements final List<String> attributes) {
+ void setCheckAttributes(@Nonnull @NonnullElements final Collection<String> attributes) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
checkAttributes = Lists.newArrayList(Collections2.filter(attributes, Predicates.notNull()));
@@ -102,7 +103,7 @@
*
* @param headers list of request headers to check
*/
- void setCheckHeaders(@Nonnull @NonnullElements final List<String> headers) {
+ void setCheckHeaders(@Nonnull @NonnullElements final Collection<String> headers) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
checkHeaders = Lists.newArrayList(Collections2.filter(headers, Predicates.notNull()));
More information about the commits
mailing list