Interface CredentialsMatcher
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AllOfMatcher,AnyOfMatcher,ConstantMatcher,IdMatcher,InstanceOfMatcher,NotMatcher,ScopeMatcher,UsernameMatcher
Something that matches credentials. Best practice is to
- Implement
Object.toString() - Implement
Object.equals(Object)andObject.hashCode() - Define a
serialVersionUIDfield to ensure consistent serialization
- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(Credentials item) Evaluates the matcher for the specified credentials.
-
Method Details
-
matches
Evaluates the matcher for the specified credentials.- Parameters:
item- the specified credentials.- Returns:
trueif and only if the specified credentials match.
-