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