public class AllowAllCredentialsMatcher extends Object implements CredentialsMatcher
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
.Constructor and Description |
---|
AllowAllCredentialsMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
doCredentialsMatch(AuthenticationToken token,
AuthenticationInfo info)
Returns
true always no matter what the method arguments are. |
public AllowAllCredentialsMatcher()
public boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)
true
always no matter what the method arguments are.doCredentialsMatch
in interface CredentialsMatcher
token
- the token submitted for authentication.info
- the account being verified for accesstrue
always.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.