[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser....
noreply at shibboleth.net
noreply at shibboleth.net
Thu Oct 17 17:23:20 EDT 2013
Author: scantor
Date: Thu Oct 17 17:23:20 2013
New Revision: 4876
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4876&view=rev
Log:
Missing constructor.
Modified:
trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser.java
Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser.java?rev=4876&r1=4875&r2=4876&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateRemoteUser.java Thu Oct 17 17:23:20 2013
@@ -18,6 +18,7 @@
package net.shibboleth.idp.authn.impl;
import java.util.Collection;
+import java.util.Collections;
import java.util.Set;
import java.util.regex.Pattern;
@@ -33,7 +34,6 @@
import net.shibboleth.idp.authn.context.UsernameContext;
import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
-import net.shibboleth.utilities.java.support.annotation.constraint.Unmodifiable;
import net.shibboleth.utilities.java.support.component.ComponentSupport;
import org.opensaml.profile.action.ActionSupport;
@@ -69,13 +69,21 @@
@Nullable private UsernameContext usernameContext;
/** A whitelist of usernames to accept. */
- @Nonnull @NonnullElements @Unmodifiable private Set<String> whitelistedUsernames;
+ @Nonnull @NonnullElements private Set<String> whitelistedUsernames;
/** A blacklist of usernames to deny. */
- @Nonnull @NonnullElements @Unmodifiable private Set<String> blacklistedUsernames;
+ @Nonnull @NonnullElements private Set<String> blacklistedUsernames;
/** A regular expression to apply for acceptance testing. */
@Nullable private Pattern matchExpression;
+
+ /** Constructor. */
+ public ValidateRemoteUser() {
+ super();
+
+ whitelistedUsernames = Collections.emptySet();
+ blacklistedUsernames = Collections.emptySet();
+ }
/**
* Set the whitelisted usernames.
More information about the commits
mailing list