Class UserAttributeMapperConfig
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.auth.mapper.attr.user.UserAttributeMapperConfig
-
public class UserAttributeMapperConfig extends java.lang.ObjectConfiguration for anAttributeMapperwhich can map various attributes to aWebAuthUser- See Also:
UserAttributeMapperConfig.GsonAdapter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserAttributeMapperConfig.BuilderBuilder in order to make creatingUserAttributeMapperConfiginstances less painful.static classUserAttributeMapperConfig.GsonAdapterSupport for Gson serialization and deserialization
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserAttributeMapperConfig.Builderbuilder(AttributeMapperConfig id, AttributeMapperConfig userName)booleanequals(java.lang.Object o)java.util.Optional<AttributeMapperConfig>getEmail()java.util.Optional<AttributeMapperConfig>getFirstName()AttributeMapperConfiggetId()java.util.Optional<AttributeMapperConfig>getLastName()java.util.Optional<AttributeMapperConfig>getRoles()AttributeMapperConfiggetUserName()inthashCode()
-
-
-
Method Detail
-
getId
@Nonnull public AttributeMapperConfig getId()
-
getUserName
@Nonnull public AttributeMapperConfig getUserName()
-
getFirstName
@Nonnull public java.util.Optional<AttributeMapperConfig> getFirstName()
-
getLastName
@Nonnull public java.util.Optional<AttributeMapperConfig> getLastName()
-
getEmail
@Nonnull public java.util.Optional<AttributeMapperConfig> getEmail()
-
getRoles
@Nonnull public java.util.Optional<AttributeMapperConfig> getRoles()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
builder
@Nonnull public static UserAttributeMapperConfig.Builder builder(@Nonnull AttributeMapperConfig id, @Nonnull AttributeMapperConfig userName)
- Parameters:
id- the idAttributeMapperConfigto be injected into theUserAttributeMapperConfig.BuilderuserName- the userNameAttributeMapperConfigto be injected into theUserAttributeMapperConfig.Builder- Returns:
- a new
UserAttributeMapperConfig.Builderinstance
-
-