hudson.plugins.collabnet.auth
Class CNProjectACL

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

public class CNProjectACL
extends hudson.security.ACL

An ACL that uses project roles to determine what Hudson permissions to give.


Nested Class Summary
static class CNProjectACL.CollabNetRoles
           
 
Field Summary
 
Fields inherited from class hudson.security.ACL
ANONYMOUS, AUTOMATIC_SIDS, EVERYONE, SYSTEM
 
Constructor Summary
CNProjectACL(java.lang.String project)
          Constructed with the CollabNet project name.
 
Method Summary
 java.lang.String getProjectId(CNConnection conn)
           
 boolean hasPermission(org.acegisecurity.Authentication a, hudson.security.Permission permission)
           
 
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

CNProjectACL

public CNProjectACL(java.lang.String project)
Constructed with the CollabNet project name.

Method Detail

getProjectId

public java.lang.String getProjectId(CNConnection conn)

hasPermission

public boolean hasPermission(org.acegisecurity.Authentication a,
                             hudson.security.Permission permission)
Specified by:
hasPermission in class hudson.security.ACL


Copyright © 2010. All Rights Reserved.