Class AllowAllCredentialsMatcher
java.lang.Object
org.apache.shiro.authc.credential.AllowAllCredentialsMatcher
- All Implemented Interfaces:
CredentialsMatcher
A credentials matcher that always returns
true when matching credentials no matter what arguments
are passed in. This can be used for testing or when credentials are implicitly trusted for a particular
Realm.- Since:
- 0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) Returnstruealways no matter what the method arguments are.
-
Constructor Details
-
AllowAllCredentialsMatcher
public AllowAllCredentialsMatcher()
-
-
Method Details
-
doCredentialsMatch
Returnstruealways no matter what the method arguments are.- Specified by:
doCredentialsMatchin interfaceCredentialsMatcher- Parameters:
token- the token submitted for authentication.info- the account being verified for access- Returns:
truealways.
-