Class UserWithAttributeValues.Builder
java.lang.Object
org.wildfly.test.security.common.elytron.UserWithAttributeValues.Builder
- Enclosing class:
- UserWithAttributeValues
Builder to build
UserWithAttributeValues.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds UserWithRoles instance.Clears set of already added roles.withPassword(String password) withValues(String... values) Add given values to the builder.withValues(Set<String> values) Add given attribute values to the builder.
-
Method Details
-
withName
-
withPassword
-
withValues
Add given attribute values to the builder. It doesn't replace existing values, but it adds given valuess to them. -
withValues
Add given values to the builder. It doesn't replace existing values, but it adds given value to them. -
clearValues
Clears set of already added roles. -
build
Builds UserWithRoles instance.- Returns:
-