Example usage for org.springframework.security.access.vote AbstractAclVoter subclass-usage

List of usage examples for org.springframework.security.access.vote AbstractAclVoter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.security.access.vote AbstractAclVoter subclass-usage.

Usage

From source file org.springframework.security.access.vote.LabelBasedAclVoter.java

/**
 * <p>This Acl voter will evaluate methods based on labels applied to incoming arguments. It will only check
 * methods that have been properly tagged in the MethodSecurityInterceptor with the value stored in
 * <tt>attributeIndicatingLabeledOperation</tt>. If a method has been tagged, then it examines each argument, and if the
 * argument implements {@link LabeledData}, then it will asses if the user's list of granted authorities matches.
 * </p>

From source file org.springframework.security.acls.AclEntryVoter.java

/**
 * <p>
 * Given a domain object instance passed as a method argument, ensures the principal has
 * appropriate permission as indicated by the {@link AclService}.
 * <p>
 * The <tt>AclService</tt> is used to retrieve the access control list (ACL) permissions

From source file ubic.gemma.security.authorization.acl.AclCollectionEntryVoter.java

/**
 * Customized voter that looks at collections to see if permissions are present for objects contained in the collection;
 * the processDomainObjectClass set refers to the types of objects in the collection. getInternalMethod refers to a
 * method that will be applied to the contained object -- not the collection. Other settings (sidRetrievalStrategy etc)
 * work exactly like the superclass.
 * <p>