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

22 lines
648 B
Java
Raw Normal View History

2020-10-29 09:38:56 +00:00
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 */
}