org.springframework.security.access.vote
Interface LabeledData
public interface LabeledData
This interface indicates data objects that carry a label. The purpose is to support
the LabelBasedAclVoter
. When it votes, it evaluates all method arguments
tagged with this interface, and votes if they match the user's granted authorities list.
- Author:
- Greg Turnquist
Method Summary |
String |
getLabel()
Retrieve the domain object's data label. |
getLabel
String getLabel()
- Retrieve the domain object's data label. NOTE: This implementation only supports one data label per
object.
- Returns:
- The label value of data object as a string.
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.