
public static final class MechanismRealmConfiguration.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
MechanismRealmConfiguration |
build()
Build a new instance.
|
MechanismRealmConfiguration.Builder |
setFinalRewriter(Function<Principal,Principal> finalRewriter)
Set a final principal transformer to apply for this mechanism realm.
|
MechanismRealmConfiguration.Builder |
setPostRealmRewriter(Function<Principal,Principal> postRealmRewriter)
Set a principal transformer to apply after the realm is selected.
|
MechanismRealmConfiguration.Builder |
setPreRealmRewriter(Function<Principal,Principal> preRealmRewriter)
Set a principal transformer to apply before the realm is selected.
|
MechanismRealmConfiguration.Builder |
setRealmMapper(RealmMapper realmMapper)
Sets a realm mapper to be used by the mechanism.
|
MechanismRealmConfiguration.Builder |
setRealmName(String realmName)
Sets a name of the realm to be presented by the mechanism.
|
public MechanismRealmConfiguration.Builder setRealmName(String realmName)
realmName - a name of the realm to be presented by the mechanismpublic MechanismRealmConfiguration.Builder setPreRealmRewriter(Function<Principal,Principal> preRealmRewriter)
preRealmRewriter - a principal transformer to apply before the realm is selectedpublic MechanismRealmConfiguration.Builder setPostRealmRewriter(Function<Principal,Principal> postRealmRewriter)
postRealmRewriter - a principal transformer to apply after the realm is selectedpublic MechanismRealmConfiguration.Builder setFinalRewriter(Function<Principal,Principal> finalRewriter)
finalRewriter - a final principal transformer to apply for this mechanism realmpublic MechanismRealmConfiguration.Builder setRealmMapper(RealmMapper realmMapper)
realmMapper - a realm mapper to be used by the mechanismpublic MechanismRealmConfiguration build()
Copyright © 2020 JBoss by Red Hat. All rights reserved.