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.


Method Summary
 java.lang.String getLabel()
          Retrieve the domain object's data label.
 

Method Detail

getLabel

java.lang.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.