Class DataPlaneAuthenticator.Outcome
java.lang.Object
org.mockserver.authentication.dataplane.DataPlaneAuthenticator.Outcome
- Enclosing class:
- DataPlaneAuthenticator
Result of an authentication attempt.
isAuthenticated() true means proceed; false means
the caller must write a 401 with the supplied wwwAuthenticate() challenge (which may be
null for the API-key-only configuration).-
Method Summary
-
Method Details
-
isAuthenticated
public boolean isAuthenticated() -
wwwAuthenticate
- Returns:
- the
WWW-Authenticatechallenge to set on the 401 response, ornullwhen there is no standard challenge (API-key-only configuration).
-