Package org.keycloak.userprofile
Class UserProfileAttributeValidationContext
- java.lang.Object
-
- org.keycloak.validate.ValidationContext
-
- org.keycloak.userprofile.UserProfileAttributeValidationContext
-
public class UserProfileAttributeValidationContext extends ValidationContext
Extension of theValidationContext
used when validators are called forUserProfile
attribute validation. Allows easy access to UserProfile related bits, likeAttributeContext
- Author:
- Vlastimil Elias
-
-
Constructor Summary
Constructors Constructor Description UserProfileAttributeValidationContext(AttributeContext attributeContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserProfileAttributeValidationContext
from(ValidationContext vc)
Easy way to cast me fromValidationContext
inValidator
implementationAttributeContext
getAttributeContext()
Map<String,Object>
getAttributes()
-
Methods inherited from class org.keycloak.validate.ValidationContext
addError, getErrors, getSession, isValid, toResult, toString, validator
-
-
-
-
Constructor Detail
-
UserProfileAttributeValidationContext
public UserProfileAttributeValidationContext(AttributeContext attributeContext)
-
-
Method Detail
-
from
public static UserProfileAttributeValidationContext from(ValidationContext vc)
Easy way to cast me fromValidationContext
inValidator
implementation
-
getAttributeContext
public AttributeContext getAttributeContext()
-
getAttributes
public Map<String,Object> getAttributes()
- Overrides:
getAttributes
in classValidationContext
-
-