Tabnine Logo
AccessControlList.getOwningGroupActions
Code IndexAdd Tabnine to your IDE (free)

How to use
getOwningGroupActions
method
in
alluxio.security.authorization.AccessControlList

Best Java code snippets using alluxio.security.authorization.AccessControlList.getOwningGroupActions (Showing top 4 results out of 315)

origin: Alluxio/alluxio

/**
 * Update the mask to be the union of owning group entry, named user entry and named group entry.
 * This method must be called when the aforementioned entries are modified.
 */
public void updateMask() {
 if (hasExtended()) {
  AclActions actions = getOwningGroupActions();
  mExtendedEntries.updateMask(actions);
 }
}
origin: Alluxio/alluxio

/**
 * Returns a list of {@link AclEntry} which represent this ACL instance. The mask will only be
 * included if extended ACL entries exist.
 *
 * @return an immutable list of ACL entries
 */
public List<AclEntry> getEntries() {
 ImmutableList.Builder<AclEntry> builder = new ImmutableList.Builder<>();
 builder.add(new AclEntry.Builder()
   .setType(AclEntryType.OWNING_USER)
   .setSubject(mOwningUser)
   .setActions(getOwningUserActions())
   .build());
 builder.add(new AclEntry.Builder()
   .setType(AclEntryType.OWNING_GROUP)
   .setSubject(mOwningGroup)
   .setActions(getOwningGroupActions())
   .build());
 builder.add(new AclEntry.Builder()
   .setType(AclEntryType.OTHER)
   .setActions(getOtherActions())
   .build());
 if (hasExtended()) {
  builder.addAll(mExtendedEntries.getEntries());
 }
 return builder.build();
}
origin: Alluxio/alluxio

if (groups.contains(mOwningGroup)) {
 isGroupKnown = true;
 groupActions.merge(getOwningGroupActions());
origin: Alluxio/alluxio

builder.addGroupActions(Acl.NamedAclActions.newBuilder()
  .setName(AccessControlList.OWNING_GROUP_KEY)
  .setActions(toProto(acl.getOwningGroupActions()))
  .build());
builder.setOtherActions(toProto(acl.getOtherActions()));
alluxio.security.authorizationAccessControlListgetOwningGroupActions

Popular methods of AccessControlList

  • <init>
    Creates a new instance where owning user and owning group are initialized to empty strings, and no a
  • getEntries
    Returns a list of AclEntry which represent this ACL instance. The mask will only be included if exte
  • getOwningGroup
  • getOwningUser
  • hasExtended
  • setEntry
    Sets an entry into the access control list. If an entry with the same type and subject already exist
  • setOwningGroup
    Sets owning group.
  • setOwningUser
    Sets owning user.
  • getMode
  • getPermission
    Gets the permitted actions for a user. When AccessControlList is not modified after calling getPermi
  • setMode
    Sets permitted actions for owning user, owning group, and other based on the mode. The format of mod
  • toString
  • setMode,
  • toString,
  • toStringEntries,
  • checkPermission,
  • clearEntries,
  • fromStringEntries,
  • getOtherActions,
  • getOwningUserActions,
  • removeEntry

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JButton (javax.swing)
  • JPanel (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now