Class SubjectAttributes
Object
se.curity.identityserver.sdk.attribute.MapAttributeValue
se.curity.identityserver.sdk.attribute.SubjectAttributes
- All Implemented Interfaces:
Iterable<Attribute>,AttributeContainer<MapAttributeValue>,AttributeOrAttributeValue<AttributeValue>,AttributeValue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionAppends the given attribute to a copy of this, returning the result.static SubjectAttributesstatic SubjectAttributesstatic SubjectAttributesof(String subject, AttributeContainer<?> attributes) static SubjectAttributesstatic SubjectAttributesAdd the given attribute if not present, or replace the attribute if it already exists.Methods inherited from class se.curity.identityserver.sdk.attribute.MapAttributeValue
append, delete, equals, get, get, getAll, getAttributesByName, getMandatory, getValue, getValueWithAuthorities, getValueWithMetadata, hashCode, isEmpty, iterator, keys, map, map, map, mapEntries, mapNonRecursive, nullOrOfType, of, removeAttributes, removeNullAttributeValues, retainAttributes, size, stream, toString, withMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, contains, getOptionalValue, getOptionalValue, removeAttribute, retainAttributeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SUBJECT
- See Also:
-
META
- See Also:
-
SCHEMAS
- See Also:
-
-
Method Details
-
of
-
of
-
of
-
of
-
of
-
append
Description copied from interface:AttributeContainerAppends the given attribute to a copy of this, returning the result.- Specified by:
appendin interfaceAttributeContainer<MapAttributeValue>- Overrides:
appendin classMapAttributeValue- Parameters:
attributes- to append- Returns:
- copy of this with the provided attribute appended to it
-
with
Description copied from interface:AttributeContainerAdd the given attribute if not present, or replace the attribute if it already exists. Note that two attributes with the same name and different authorities are considered distinct.- Specified by:
within interfaceAttributeContainer<MapAttributeValue>- Overrides:
within classMapAttributeValue- Parameters:
attribute- attribute to add or to override- Returns:
- a copy of this which contains the given Attribute
-
getSubject
-
getSubjectAttribute
-