Package org.wildfly.security.auth.client
Class MatchUserRule
- java.lang.Object
- 
- org.wildfly.security.auth.client.MatchRule
- 
- org.wildfly.security.auth.client.MatchUserRule
 
 
- 
 class MatchUserRule extends MatchRule - Author:
- David M. Lloyd
 
- 
- 
Constructor SummaryConstructors Constructor Description MatchUserRule(MatchRule parent, String userSpec)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringBuilderasString(StringBuilder b)StringgetMatchUser()Get the URI user info that this rule matches, ornullif this rule only matches empty URI user info.(package private) booleanhalfEqual(MatchRule other)inthashCode()Get the hash code of this rule.booleanisUserMatched()Determine whether this rule matches based on non-empty URI user info.booleanmatches(URI uri, String abstractType, String abstractTypeAuthority)Determine if this rule matches the given URI, and type.(package private) MatchRulereparent(MatchRule newParent)- 
Methods inherited from class org.wildfly.security.auth.client.MatchRuleequals, equals, getMatchAbstractType, getMatchAbstractTypeAuthority, getMatchHost, getMatchNetwork, getMatchPath, getMatchPort, getMatchProtocol, getMatchUrnName, isHostMatched, isNetworkMatched, isPathMatched, isPortMatched, isProtocolMatched, isTypeAuthorityMatched, isTypeMatched, isUrnNameMatched, matchAbstractType, matchAddress, matchAnyUser, matches, matchHost, matchLocalSecurityDomain, matchNetwork, matchNoUser, matchPath, matchPort, matchProtocol, matchUrnName, matchUser, parentAsString, parentHalfEqual, parentHashCode, toString, without
 
- 
 
- 
- 
- 
Field Detail- 
userSpecprivate final String userSpec 
 
- 
 - 
Method Detail- 
matchespublic boolean matches(URI uri, String abstractType, String abstractTypeAuthority) Description copied from class:MatchRuleDetermine if this rule matches the given URI, and type.
 - 
getMatchUserpublic String getMatchUser() Description copied from class:MatchRuleGet the URI user info that this rule matches, ornullif this rule only matches empty URI user info.- Overrides:
- getMatchUserin class- MatchRule
- Returns:
- the user info, or nullif there is none
 
 - 
isUserMatchedpublic boolean isUserMatched() Description copied from class:MatchRuleDetermine whether this rule matches based on non-empty URI user info.- Overrides:
- isUserMatchedin class- MatchRule
- Returns:
- trueif the rule matches based on non-empty user info,- falseotherwise
 
 - 
hashCodepublic int hashCode() Description copied from class:MatchRuleGet the hash code of this rule.
 - 
asStringStringBuilder asString(StringBuilder b) 
 
- 
 
-