ISE-ComProg-After-Midterm/screwdriver-3.5.6/box/snippets/java/Belonger.java

22 lines
648 B
Java

package +zoccolo+.security;
import java.util.Collection;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
public class Belonger extends User {
public Belonger(String username, String password, boolean enabled,
boolean accountNonExpired, boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<? extends GrantedAuthority> authorities) {
super(username, password, enabled, accountNonExpired,
credentialsNonExpired, accountNonLocked, authorities);
}
private static final long serialVersionUID = 4190186200539186925L;
/* screwdriver_knife */
}