Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package hudson.plugins.collabnet.auth;
Gives user permission if the user is authenticated.
public class CNAuthenticatedUserACL extends ACL {
If the user is authenticated, return true.

a current authentication.
p permission to check
true if the user should have the permission.
    public boolean hasPermission(Authentication aPermission p) {
        return a.isAuthenticated();
New to GrepCode? Check out our FAQ X