Package org.wildfly.security.auth.client
Class MatchAbstractTypeRule
- java.lang.Object
-
- org.wildfly.security.auth.client.MatchRule
-
- org.wildfly.security.auth.client.MatchAbstractTypeRule
-
class MatchAbstractTypeRule extends MatchRule
-
-
Constructor Summary
Constructors Constructor Description MatchAbstractTypeRule(MatchRule parent, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringBuilder
asString(StringBuilder b)
String
getMatchAbstractType()
Get the abstract type that this rule matches, ornull
if this rule does not match by abstract type.(package private) boolean
halfEqual(MatchRule other)
int
hashCode()
Get the hash code of this rule.boolean
isTypeMatched()
Determine whether this rule matches based on abstract type.boolean
matches(URI uri, String abstractType, String abstractTypeAuthority)
Determine if this rule matches the given URI, and type.(package private) MatchRule
reparent(MatchRule newParent)
-
Methods inherited from class org.wildfly.security.auth.client.MatchRule
equals, equals, getMatchAbstractTypeAuthority, getMatchHost, getMatchNetwork, getMatchPath, getMatchPort, getMatchProtocol, getMatchUrnName, getMatchUser, isHostMatched, isNetworkMatched, isPathMatched, isPortMatched, isProtocolMatched, isTypeAuthorityMatched, isUrnNameMatched, isUserMatched, matchAbstractType, matchAddress, matchAnyUser, matches, matchHost, matchLocalSecurityDomain, matchNetwork, matchNoUser, matchPath, matchPort, matchProtocol, matchUrnName, matchUser, parentAsString, parentHalfEqual, parentHashCode, toString, without
-
-
-
-
Field Detail
-
type
private final String type
-
-
Method Detail
-
getMatchAbstractType
public String getMatchAbstractType()
Description copied from class:MatchRule
Get the abstract type that this rule matches, ornull
if this rule does not match by abstract type.- Overrides:
getMatchAbstractType
in classMatchRule
- Returns:
- the abstract type, or
null
if there is none
-
isTypeMatched
public boolean isTypeMatched()
Description copied from class:MatchRule
Determine whether this rule matches based on abstract type.- Overrides:
isTypeMatched
in classMatchRule
- Returns:
true
if the rule matches based on type,false
otherwise
-
matches
public boolean matches(URI uri, String abstractType, String abstractTypeAuthority)
Description copied from class:MatchRule
Determine if this rule matches the given URI, and type.
-
hashCode
public int hashCode()
Description copied from class:MatchRule
Get the hash code of this rule.
-
asString
StringBuilder asString(StringBuilder b)
-
-