Codota Logo
AllUsersGrantee.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.jets3t.service.acl.gs.AllUsersGrantee
constructor

Best Java code snippets using org.jets3t.service.acl.gs.AllUsersGrantee.<init> (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

@Override
public void startElement(String name, Attributes attrs) {
  if (name.equals("Owner")) {
    owner = new GSOwner();
  } else if (name.equals("Entries")) {
    accessControlList = new GSAccessControlList();
    accessControlList.setOwner(owner);
    insideACL = true;
  } else if (name.equals("Scope")) {
    scopeType = attrs.getValue("type");
    if (scopeType.equals("UserById")) {
      currentGrantee = new UserByIdGrantee();
    } else if (scopeType.equals("UserByEmail")) {
      currentGrantee = new UserByEmailAddressGrantee();
    } else if (scopeType.equals("GroupById")) {
      currentGrantee = new GroupByIdGrantee();
    } else if (scopeType.equals("GroupByEmail")) {
      currentGrantee = new GroupByEmailAddressGrantee();
    } else if (scopeType.equals("GroupByDomain")) {
      currentGrantee = new GroupByDomainGrantee();
    } else if (scopeType.equals("AllUsers")) {
      currentGrantee = new AllUsersGrantee();
    } else if (scopeType.equals("AllAuthenticatedUsers")) {
      currentGrantee = new AllAuthenticatedUsersGrantee();
    }
  }
}
origin: net.java.dev.jets3t/jets3t

@Override
public void startElement(String name, Attributes attrs) {
  if (name.equals("Owner")) {
    owner = new GSOwner();
  } else if (name.equals("Entries")) {
    accessControlList = new GSAccessControlList();
    accessControlList.setOwner(owner);
    insideACL = true;
  } else if (name.equals("Scope")) {
    scopeType = attrs.getValue("type");
    if (scopeType.equals("UserById")) {
      currentGrantee = new UserByIdGrantee();
    } else if (scopeType.equals("UserByEmail")) {
      currentGrantee = new UserByEmailAddressGrantee();
    } else if (scopeType.equals("GroupById")) {
      currentGrantee = new GroupByIdGrantee();
    } else if (scopeType.equals("GroupByEmail")) {
      currentGrantee = new GroupByEmailAddressGrantee();
    } else if (scopeType.equals("GroupByDomain")) {
      currentGrantee = new GroupByDomainGrantee();
    } else if (scopeType.equals("AllUsers")) {
      currentGrantee = new AllUsersGrantee();
    } else if (scopeType.equals("AllAuthenticatedUsers")) {
      currentGrantee = new AllAuthenticatedUsersGrantee();
    }
  }
}
origin: net.java.dev.jets3t/jets3t

bucketAcl.grantPermission(new AllUsersGrantee(), Permission.PERMISSION_READ);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

bucketAcl.grantPermission(new AllUsersGrantee(), Permission.PERMISSION_READ);
origin: iterate-ch/cyberduck

if(userAndRole.getUser().getIdentifier().equals(new AllUsersGrantee().getIdentifier())
    || userAndRole.getUser().getIdentifier().equals(Acl.GroupUser.EVERYONE)) {
  list.grantPermission(new AllUsersGrantee(),
      Permission.parsePermission(userAndRole.getRole().getName()));
org.jets3t.service.acl.gsAllUsersGrantee<init>

Popular methods of AllUsersGrantee

  • toXMLBuilder
  • getIdentifier

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getApplicationContext (Context)
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now