public static class SecurityDomain.RealmBuilder extends Object
Modifier and Type | Method and Description |
---|---|
SecurityDomain.Builder |
build()
Constructs this realm info and adds it into the domain.
|
String |
getName()
Get the realm name.
|
Function<Principal,Principal> |
getPrincipalRewriter()
Get the name rewriter.
|
SecurityRealm |
getRealm()
Get the security realm.
|
RoleDecoder |
getRoleDecoder()
Get the role decoder.
|
RoleMapper |
getRoleMapper()
Get the role mapper.
|
SecurityDomain.RealmBuilder |
setNameRewriter(NameRewriter nameRewriter)
Deprecated.
|
SecurityDomain.RealmBuilder |
setPrincipalRewriter(Function<Principal,Principal> principalRewriter)
Set the name rewriter.
|
SecurityDomain.RealmBuilder |
setRoleDecoder(RoleDecoder roleDecoder)
Set the role decoder.
|
SecurityDomain.RealmBuilder |
setRoleMapper(RoleMapper roleMapper)
Set the role mapper.
|
public String getName()
null
)public SecurityRealm getRealm()
null
)public RoleMapper getRoleMapper()
null
)public SecurityDomain.RealmBuilder setRoleMapper(RoleMapper roleMapper)
roleMapper
- the role mapper (may not be null
)public Function<Principal,Principal> getPrincipalRewriter()
null
)public SecurityDomain.RealmBuilder setPrincipalRewriter(Function<Principal,Principal> principalRewriter)
principalRewriter
- the name rewriter (may not be null
)@Deprecated public SecurityDomain.RealmBuilder setNameRewriter(NameRewriter nameRewriter)
public RoleDecoder getRoleDecoder()
null
)public SecurityDomain.RealmBuilder setRoleDecoder(RoleDecoder roleDecoder)
roleDecoder
- the role decoder (may not be null
)public SecurityDomain.Builder build()
Copyright © 2019 JBoss by Red Hat. All rights reserved.