public class PrivilegeField extends BaseField
Constructor and Description |
---|
PrivilegeField(String id,
AccessResolver accessResolver)
Construct a representation of an
Privilege attribute. |
Modifier and Type | Method and Description |
---|---|
Set<edu.internet2.middleware.subject.Subject> |
filterInternalSubjects(Set<edu.internet2.middleware.subject.Subject> subjects)
Remove GrouperAll and GrouperSystem from the returned subjects.
|
edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<edu.internet2.middleware.subject.Subject> |
getAttribute(Group group)
Get the resultant attribute whose values are the
Subject s with the privilege for the given Group . |
edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Group> |
getAttribute(edu.internet2.middleware.subject.Subject subject)
Get the resultant attribute whose values are the
Group s to which the Subject has the privilege. |
getFirstIdElement, getId, getIdElements, getSecondIdElement, getThirdIdElement
public PrivilegeField(String id, AccessResolver accessResolver) throws GrouperException
Privilege
attribute.id
- the identifieraccessResolver
- the access resolverGrouperException
edu.internet2.middleware.grouper.shibboleth.dataConnector.field.BaseField#constructor(String id)
public edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<edu.internet2.middleware.subject.Subject> getAttribute(Group group)
Subject
s with the privilege for the given Group
.
Does not include the GrouperAll or GrouperSystem subjects.group
- the grouppublic edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Group> getAttribute(edu.internet2.middleware.subject.Subject subject)
Group
s to which the Subject
has the privilege.subject
- the subjectCopyright © 2014 Internet2. All rights reserved.