Class JwtAssertionAttributes
Object
se.curity.identityserver.sdk.attribute.MapAttributeValue
se.curity.identityserver.sdk.attribute.client.database.JwtAssertionAttributes
- All Implemented Interfaces:
Iterable<Attribute>
,AttributeContainer<MapAttributeValue>
,AttributeOrAttributeValue<AttributeValue>
,AttributeValue
,SerializableAsMap
,TypedMapAttributeValue<JwtAssertionAttributes>
public final class JwtAssertionAttributes
extends MapAttributeValue
implements TypedMapAttributeValue<JwtAssertionAttributes>
Configuration for a JWT Assertion.
- Since:
- 8.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
AttributeContainer.TypeConversionStrategy
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.attribute.TypedMapAttributeValue
TypedMapAttributeValue.Merger, TypedMapAttributeValue.MergerInto
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable JwtAssertionAttributes
static JwtAssertionAttributes
of
(@Nullable String issuerId, @Nullable Boolean allowReuse, @Nullable JwtSigningAttributes jwtSigning) Add the given attributes if not present, or replace the attribute if it already exists.Methods inherited from class se.curity.identityserver.sdk.attribute.MapAttributeValue
append, append, asMap, delete, empty, equals, get, get, getAll, getAttributesByName, getMandatory, getMandatory, getMandatory, getUniqueValuesOfType, getUniqueValuesOfType, getValue, getValuesOfType, getValuesOfType, getValueWithAuthorities, getValueWithMetadata, hashCode, isEmpty, iterator, keys, map, map, map, mapEntries, mapNonRecursive, nullOrOfType, of, of, of, removeAttributes, removeNullAttributeValues, retainAttributes, size, stream, toString, with, with
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface se.curity.identityserver.sdk.attribute.AttributeContainer
contains, contains, getOptionalValue, getOptionalValue, getOptionalValue, removeAttribute, retainAttribute
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface se.curity.identityserver.sdk.attribute.TypedMapAttributeValue
asMapAttributeValue, with, with, withValue
-
Field Details
-
ISSUER
- See Also:
-
SIGNING
- See Also:
-
ALLOW_REUSE
- See Also:
-
-
Method Details
-
of
public static JwtAssertionAttributes of(@Nullable String issuerId, @Nullable Boolean allowReuse, @Nullable JwtSigningAttributes jwtSigning) -
of
-
withAll
Description copied from interface:TypedMapAttributeValue
Add the given attributes 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.Notice that this method is the only method of
TypedMapAttributeValue
need to implement. All otherwith
methods are implemented by delegating to this method.Most implementations may want to fully replace the existing attributes with the given attributes, but in certain cases it may be appropriate to perform a "merge" between the existing and the given attributes. Which is the case depends on the semantic of each subtype.
- Specified by:
withAll
in interfaceTypedMapAttributeValue<JwtAssertionAttributes>
- Parameters:
attributes
- attribute to add or to override- Returns:
- a copy of this which contains the given Attributes
- See Also:
-
getIssuer
-
getJwtSigning
-
getAllowReuse
-