hudson.plugins.collabnet.auth
Class CNAuthenticatedUserACL

java.lang.Object
  extended by hudson.security.ACL
      extended by hudson.plugins.collabnet.auth.CNAuthenticatedUserACL

public class CNAuthenticatedUserACL
extends hudson.security.ACL

Gives user permission if the user is authenticated.


Field Summary
 
Fields inherited from class hudson.security.ACL
ANONYMOUS, AUTOMATIC_SIDS, EVERYONE, SYSTEM
 
Constructor Summary
CNAuthenticatedUserACL()
           
 
Method Summary
 boolean hasPermission(org.acegisecurity.Authentication a, hudson.security.Permission p)
          If the user is authenticated, return true.
 
Methods inherited from class hudson.security.ACL
checkPermission, hasPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CNAuthenticatedUserACL

public CNAuthenticatedUserACL()
Method Detail

hasPermission

public boolean hasPermission(org.acegisecurity.Authentication a,
                             hudson.security.Permission p)
If the user is authenticated, return true.

Specified by:
hasPermission in class hudson.security.ACL
Parameters:
a - current authentication.
p - permission to check
Returns:
true if the user should have the permission.


Copyright © 2010. All Rights Reserved.