changed constructor back to collection.  Accidentally set to List due to old code residing on notebook.
This commit is contained in:
Scott Battaglia 2009-11-18 15:09:56 +00:00
parent 6eec9c4d95
commit f35cb48407
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
package org.springframework.security.cas.authentication;
import java.io.Serializable;
import java.util.List;
import java.util.Collection;
import org.jasig.cas.client.validation.Assertion;
import org.springframework.security.authentication.AbstractAuthenticationToken;
@ -60,7 +60,7 @@ public class CasAuthenticationToken extends AbstractAuthenticationToken implemen
* @throws IllegalArgumentException if a <code>null</code> was passed
*/
public CasAuthenticationToken(final String key, final Object principal, final Object credentials,
final List<GrantedAuthority> authorities, final UserDetails userDetails, final Assertion assertion) {
final Collection<GrantedAuthority> authorities, final UserDetails userDetails, final Assertion assertion) {
super(authorities);
if ((key == null) || ("".equals(key)) || (principal == null) || "".equals(principal) || (credentials == null)