public class FullControlOnceLoggedInAuthorizationStrategy extends AuthorizationStrategy
AuthorizationStrategythat grants full-control to authenticated user and optionally read access to anonymous users
- Kohsuke Kawaguchi
Nested Class Summary
Nested Classes Modifier and Type Class Description
Nested classes/interfaces inherited from class hudson.security.AuthorizationStrategy
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getGroups()Returns the list of all group/role names used in this authorization strategy, and the ACL returned from the
isAllowAnonymousRead()If true, anonymous read access will be allowed
Methods inherited from class hudson.security.AuthorizationStrategy
all, getACL, getACL, getACL, getACL, getACL, getACL, getACL, getACL
public ACL getRootACL()Description copied from class:
AuthorizationStrategyReturns the instance of
ACLwhere all the other
ACLinstances for all the other model objects eventually delegate.
IOW, this ACL will have the ultimate say on the access control.
getGroupsDescription copied from class:
AuthorizationStrategyReturns the list of all group/role names used in this authorization strategy, and the ACL returned from the
This method is used by
ContainerAuthenticationto work around the servlet API issue that prevents us from enumerating roles that the user has.
If such enumeration is impossible, do the best to list as many as possible, then return it. In the worst case, just return an empty list. Doing so would prevent users from using role names as group names (see JENKINS-2716 for such one such report.)
public boolean isAllowAnonymousRead()If true, anonymous read access will be allowed
@DataBoundSetter public void setAllowAnonymousRead(boolean allowAnonymousRead)