public class OpenSSOSubjectAttributesCollector extends Object implements SubjectAttributesCollector
ATTR_NAME_ALL_ENTITIES, NAMESPACE_ATTR, NAMESPACE_IDENTITY
Constructor and Description |
---|
OpenSSOSubjectAttributesCollector() |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
getAttributes(Subject subject,
Set<String> attributeNames)
Returns the attribute values of the given user represented by
|
Set<String> |
getAvailableSubjectAttributeNames()
Returns available subject attribute names.
|
Map<String,Set<String>> |
getUserAttributes(Subject subject,
Set<String> attrNames)
Returns the attribute values of the given user represented by
|
void |
init(String realm,
Map<String,Set<String>> configMap)
Initializes this object with specified parameters.
|
boolean |
isGroupMembershipSearchIndexEnabled()
Returns true if group membership search index is enabled or false
otherwise.
|
public void init(String realm, Map<String,Set<String>> configMap)
init
in interface SubjectAttributesCollector
realm
- the realmconfigMap
- configuration mappublic Map<String,Set<String>> getAttributes(Subject subject, Set<String> attributeNames) throws EntitlementException
SubjectAttributesCollector
getAttributes
in interface SubjectAttributesCollector
subject
- identity of the userattributeNames
- requested attribute namesEntitlementException
- if this
operation failed.public Set<String> getAvailableSubjectAttributeNames() throws EntitlementException
SubjectAttributesCollector
getAvailableSubjectAttributeNames
in interface SubjectAttributesCollector
EntitlementException
public boolean isGroupMembershipSearchIndexEnabled()
isGroupMembershipSearchIndexEnabled
in interface SubjectAttributesCollector
public Map<String,Set<String>> getUserAttributes(Subject subject, Set<String> attrNames) throws EntitlementException
getUserAttributes
in interface SubjectAttributesCollector
subject
- identity of the user.attrNames
- requested attribute names.EntitlementException
- if this
operation failed.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.