Spring Security Framework

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.

Greg Turnquist

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

Method Detail


String getLabel()
Retrieve the domain object's data label. NOTE: This implementation only supports one data label per object.

The label value of data object as a string.

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.