Package org.forgerock.am.iot
Interface IotRegistrationNode.Config
-
- Enclosing class:
- IotRegistrationNode
public static interface IotRegistrationNode.Config
Configuration for the node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
allowAttributeOverwrite()
Allow existing identity attributes to be overwritten when new claims are provided for the thing.default boolean
allowKeyRotation()
Allow multiple confirmation keys to be registered for a thing.Map<String,String>
claimToAttributeMapping()
Map the verified claims to the thing's attributes.default boolean
createIdentity()
Create a new identity for the thing if one does not exist already.default boolean
verifySubject()
Verify that the subject provided in the JWT is the same as either the X.509 certificate subject CN or UID.
-
-
-
Method Detail
-
verifySubject
default boolean verifySubject()
Verify that the subject provided in the JWT is the same as either the X.509 certificate subject CN or UID.- Returns:
- true if subject should be verified.
-
createIdentity
default boolean createIdentity()
Create a new identity for the thing if one does not exist already.- Returns:
- true if identity should be created.
-
allowKeyRotation
default boolean allowKeyRotation()
Allow multiple confirmation keys to be registered for a thing.- Returns:
- true if key rotation is allowed.
-
claimToAttributeMapping
Map<String,String> claimToAttributeMapping()
Map the verified claims to the thing's attributes. The value on the left is the name of the claim in the verified claims JWT. The value on the right is the name of the attribute in the data store.- Returns:
- the configured mapping.
-
allowAttributeOverwrite
default boolean allowAttributeOverwrite()
Allow existing identity attributes to be overwritten when new claims are provided for the thing.- Returns:
- true if attributes can be overwritten.
-
-