edu.internet2.middleware.grouper.subj.decoratorExamples
Class SubjectCustomizerForDecoratorExtraAttributes

java.lang.Object
  extended by edu.internet2.middleware.grouper.subj.SubjectCustomizerBase
      extended by edu.internet2.middleware.grouper.subj.decoratorExamples.SubjectCustomizerForDecoratorExtraAttributes
All Implemented Interfaces:
SubjectCustomizer

public class SubjectCustomizerForDecoratorExtraAttributes
extends SubjectCustomizerBase

add attributes securely to the subject

Author:
mchyzer

Field Summary
static String PERMISSIONS_STEM_NAME
          stem name of the permission resources which represent columns in the attribute table
static String SUBJECT_ATTRIBUTES_PERMISSIONS_ATTRIBUTE_DEF
          subjectAttributes:permissions
 
Constructor Summary
SubjectCustomizerForDecoratorExtraAttributes()
           
 
Method Summary
 Set<edu.internet2.middleware.subject.Subject> decorateSubjects(GrouperSession grouperSession, Set<edu.internet2.middleware.subject.Subject> subjects, Collection<String> attributeNamesRequested)
          decorate subjects based on attributes requested
static String PRIVILEGED_ADMIN_GROUP_NAME()
          privileged employee group name
 
Methods inherited from class edu.internet2.middleware.grouper.subj.SubjectCustomizerBase
filterSubjects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSIONS_STEM_NAME

public static final String PERMISSIONS_STEM_NAME
stem name of the permission resources which represent columns in the attribute table

See Also:
Constant Field Values

SUBJECT_ATTRIBUTES_PERMISSIONS_ATTRIBUTE_DEF

public static final String SUBJECT_ATTRIBUTES_PERMISSIONS_ATTRIBUTE_DEF
subjectAttributes:permissions

See Also:
Constant Field Values
Constructor Detail

SubjectCustomizerForDecoratorExtraAttributes

public SubjectCustomizerForDecoratorExtraAttributes()
Method Detail

PRIVILEGED_ADMIN_GROUP_NAME

public static String PRIVILEGED_ADMIN_GROUP_NAME()
privileged employee group name

Returns:
the group name

decorateSubjects

public Set<edu.internet2.middleware.subject.Subject> decorateSubjects(GrouperSession grouperSession,
                                                                      Set<edu.internet2.middleware.subject.Subject> subjects,
                                                                      Collection<String> attributeNamesRequested)
Description copied from interface: SubjectCustomizer
decorate subjects based on attributes requested

Specified by:
decorateSubjects in interface SubjectCustomizer
Overrides:
decorateSubjects in class SubjectCustomizerBase
Returns:
the subjects if same set, or make a new set
See Also:
SubjectCustomizer.decorateSubjects(GrouperSession, Set, Collection)