Package hudson.plugins.collabnet.auth
Class CNAuthenticatedUserACL
- java.lang.Object
-
- hudson.security.ACL
-
- hudson.plugins.collabnet.auth.CNAuthenticatedUserACL
-
public class CNAuthenticatedUserACL extends ACL
Gives user permission if the user is authenticated.
-
-
Field Summary
-
Fields inherited from class hudson.security.ACL
ANONYMOUS, ANONYMOUS_USERNAME, EVERYONE, SYSTEM, SYSTEM_USERNAME, SYSTEM2
-
-
Constructor Summary
Constructors Constructor Description CNAuthenticatedUserACL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasPermission(Authentication a, Permission p)
If the user is authenticated, return true.-
Methods inherited from class hudson.security.ACL
as, as, as2, checkAnyPermission, checkCreatePermission, checkCreatePermission, checkPermission, hasAnyPermission, hasCreatePermission, hasCreatePermission, hasCreatePermission2, hasCreatePermission2, hasPermission, hasPermission2, impersonate, impersonate, impersonate, impersonate2, impersonate2, impersonate2, isAnonymous, isAnonymous2, lambda, lambda2
-
-
-
-
Method Detail
-
hasPermission
public boolean hasPermission(Authentication a, Permission p)
If the user is authenticated, return true.- Overrides:
hasPermission
in classACL
- Parameters:
a
- current authentication.p
- permission to check- Returns:
- true if the user should have the permission.
-
-