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<Subject> |
filterInternalSubjects(Set<Subject> subjects)
Remove GrouperAll and GrouperSystem from the returned subjects.
|
edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Subject> |
getAttribute(Group group)
|
edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Group> |
getAttribute(Subject subject)
|
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<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(Subject subject)
subject
- the subjectCopyright © 2016 Internet2. All rights reserved.