34 lines
918 B
Java
34 lines
918 B
Java
package +zoccolo+.web.authentication;
|
|
|
|
import java.util.Collection;
|
|
|
|
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
|
import org.springframework.security.core.GrantedAuthority;
|
|
import java.math.BigInteger;
|
|
import java.security.MessageDigest;
|
|
import java.security.NoSuchAlgorithmException;
|
|
|
|
import +jpapath+.+tabella+;
|
|
|
|
public final class SimpleUsernamePasswordAuthenticationToken
|
|
|
|
extends UsernamePasswordAuthenticationToken {
|
|
|
|
private static final long serialVersionUID = -5138870746127783L;
|
|
|
|
public SimpleUsernamePasswordAuthenticationToken(String principal,
|
|
String credentials) {
|
|
super(principal, credentials);
|
|
}
|
|
|
|
public SimpleUsernamePasswordAuthenticationToken(Utenti principal,
|
|
String credentials,
|
|
Collection<? extends GrantedAuthority> authorities) {
|
|
super(principal, credentials, authorities);
|
|
}
|
|
|
|
+newMethod+
|
|
|
|
/* screwdriver_knife */
|
|
}
|