Add Source Code Linter Pipeline

This commit is contained in:
Siwat Sirichai 2020-10-29 16:38:56 +07:00
parent 0d0e7140c4
commit d252f6ef50
313 changed files with 36277 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package +zoccolo+.web.authentication;
import +beanposition+.+bean+;
public interface UserContext {
/**
* Gets the currently logged in {@link +bean+} or null if there is no authenticated user.
*
* @return
*/
+bean+ getCurrentUser();
/**
* Sets the currently logged in {@link +bean+}.
* @param user the logged in {@link +bean+}. Cannot be null.
* @throws IllegalArgumentException if the {@link +bean+} is null.
*/
void setCurrentUser(+bean+ user);
}