AllowAllCredentialsMatcher

A credentials matcher that always returns {@code 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 {@link hunt.shiro.realm.Realm Realm}.

Members

Functions

doCredentialsMatch
bool doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)

Returns <code>true</code> <em>always</em> no matter what the method arguments are.

Inherited Members

From CredentialsMatcher

doCredentialsMatch
bool doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)

Returns {@code true} if the provided token credentials match the stored account credentials, {@code false} otherwise.

Meta