Package org.wildfly.security.auth.client
Class MatchSchemeRule
- java.lang.Object
-
- org.wildfly.security.auth.client.MatchRule
-
- org.wildfly.security.auth.client.MatchSchemeRule
-
class MatchSchemeRule extends MatchRule
- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description MatchSchemeRule(MatchRule parent, String protoName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringBuilderasString(StringBuilder b)StringgetMatchProtocol()Get the protocol (scheme) that this rule matches, ornullif this rule does not match by protocol.(package private) booleanhalfEqual(MatchRule other)inthashCode()Get the hash code of this rule.booleanisProtocolMatched()Determine whether this rule matches based on URI protocol (scheme).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.MatchRule
equals, equals, getMatchAbstractType, getMatchAbstractTypeAuthority, getMatchHost, getMatchNetwork, getMatchPath, getMatchPort, getMatchUrnName, getMatchUser, isHostMatched, isNetworkMatched, isPathMatched, isPortMatched, isTypeAuthorityMatched, isTypeMatched, isUrnNameMatched, isUserMatched, matchAbstractType, matchAddress, matchAnyUser, matches, matchHost, matchLocalSecurityDomain, matchNetwork, matchNoUser, matchPath, matchPort, matchProtocol, matchUrnName, matchUser, parentAsString, parentHalfEqual, parentHashCode, toString, without
-
-
-
-
Field Detail
-
protoName
private final String protoName
-
-
Method Detail
-
isProtocolMatched
public boolean isProtocolMatched()
Description copied from class:MatchRuleDetermine whether this rule matches based on URI protocol (scheme).- Overrides:
isProtocolMatchedin classMatchRule- Returns:
trueif the rule matches based on URI protocol,falseotherwise
-
getMatchProtocol
public String getMatchProtocol()
Description copied from class:MatchRuleGet the protocol (scheme) that this rule matches, ornullif this rule does not match by protocol.- Overrides:
getMatchProtocolin classMatchRule- Returns:
- the protocol, or
nullif there is none
-
matches
public boolean matches(URI uri, String abstractType, String abstractTypeAuthority)
Description copied from class:MatchRuleDetermine if this rule matches the given URI, and type.
-
hashCode
public int hashCode()
Description copied from class:MatchRuleGet the hash code of this rule.
-
asString
StringBuilder asString(StringBuilder b)
-
-