public class MappedRegexRealmMapper extends SimpleRegexRealmMapper
DEFAULT_REALM_MAPPER| Constructor and Description |
|---|
MappedRegexRealmMapper(Pattern realmNamePattern,
Map<String,String> realmNameMap)
Construct a new instance.
|
MappedRegexRealmMapper(Pattern realmNamePattern,
RealmMapper delegate,
Map<String,String> realmNameMap)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRealmMapping(Principal principal,
Evidence evidence)
Get the realm mapping.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregate, aggregate, matching, matchingEvidence, matchingEvidenceType, matchingPrincipal, matchingPrincipalType, singlepublic MappedRegexRealmMapper(Pattern realmNamePattern, Map<String,String> realmNameMap)
realmNamePattern - the realm name pattern, which must contain at least one capture group (cannot be null)realmNameMap - the realm portion to realm name map (cannot be null)public MappedRegexRealmMapper(Pattern realmNamePattern, RealmMapper delegate, Map<String,String> realmNameMap)
realmNamePattern - the realm name pattern, which must contain at least one capture group (cannot be null)delegate - the delegate mapper to use if the pattern is not matched (cannot be null)realmNameMap - the realm portion to realm name map (cannot be null)public String getRealmMapping(Principal principal, Evidence evidence)
RealmMappernull if the default realm should be used.getRealmMapping in interface RealmMappergetRealmMapping in class SimpleRegexRealmMapperprincipal - the authentication principal (or null if none is known for this authentication)evidence - the authentication evidence (or null if none is known for this authentication)null if no particular realm matches the authentication informationCopyright © 2017 JBoss by Red Hat. All rights reserved.