Add Source Code Linter Pipeline
This commit is contained in:
parent
0d0e7140c4
commit
d252f6ef50
313 changed files with 36277 additions and 0 deletions
21
screwdriver-3.5.6/box/snippets/java/Belonger.java
Normal file
21
screwdriver-3.5.6/box/snippets/java/Belonger.java
Normal file
|
@ -0,0 +1,21 @@
|
|||
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 */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue