Package org.wildfly.security.auth.server
Class MechanismRealmConfiguration
- java.lang.Object
 - 
- org.wildfly.security.auth.server.MechanismRealmConfiguration
 
 
- 
public final class MechanismRealmConfiguration extends Object
A configuration for a single mechanism realm.- Author:
 - David M. Lloyd
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMechanismRealmConfiguration.BuilderA builder for mechanism realm configuration. 
- 
Field Summary
Fields Modifier and Type Field Description static MechanismRealmConfigurationNO_REALMA realm configuration for no particular realm, which does no additional rewriting. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MechanismRealmConfiguration.Builderbuilder()Obtain a newMechanismRealmConfiguration.Buildercapable of building aMechanismRealmConfiguration.Function<Principal,Principal>getFinalRewriter()Get the final rewriter for this mechanism realm.Function<Principal,Principal>getPostRealmRewriter()Get the post-realm rewriter for this mechanism realm.Function<Principal,Principal>getPreRealmRewriter()Get the pre-realm rewriter for this mechanism realm.RealmMappergetRealmMapper()Get the realm mapper for this mechanism realm.StringgetRealmName()Get the mechanism realm name. 
 - 
 
- 
- 
Field Detail
- 
NO_REALM
public static final MechanismRealmConfiguration NO_REALM
A realm configuration for no particular realm, which does no additional rewriting. 
 - 
 
- 
Method Detail
- 
getRealmName
public String getRealmName()
Get the mechanism realm name.- Returns:
 - the mechanism realm name (not 
null) 
 
- 
getPreRealmRewriter
public Function<Principal,Principal> getPreRealmRewriter()
Get the pre-realm rewriter for this mechanism realm.- Returns:
 - the pre-realm rewriter for this mechanism realm (not 
null) 
 
- 
getPostRealmRewriter
public Function<Principal,Principal> getPostRealmRewriter()
Get the post-realm rewriter for this mechanism realm.- Returns:
 - the post-realm rewriter for this mechanism realm (not 
null) 
 
- 
getFinalRewriter
public Function<Principal,Principal> getFinalRewriter()
Get the final rewriter for this mechanism realm.- Returns:
 - the final rewriter for this mechanism realm (not 
null) 
 
- 
getRealmMapper
public RealmMapper getRealmMapper()
Get the realm mapper for this mechanism realm.- Returns:
 - the realm mapper for this mechanism realm, or 
nullto use the default 
 
- 
builder
public static MechanismRealmConfiguration.Builder builder()
Obtain a newMechanismRealmConfiguration.Buildercapable of building aMechanismRealmConfiguration.- Returns:
 - a new 
MechanismRealmConfiguration.Buildercapable of building aMechanismRealmConfiguration. 
 
 - 
 
 -