|Modifier and Type||Class and Description|
Basic authentication result.
|Constructor and Description|
|Modifier and Type||Method and Description|
getRealm, getURI, matches, matchesURI
public Authentication.Result authenticate(Request request, ContentResponse response, Authentication.HeaderInfo headerInfo, Attributes context)
Resultthat can be used to actually authenticate the request via
If a request for
"/secure" returns a
Result, then the result may be used for other
requests such as
"/secure/bar", unless those resources are protected
by other realms.
request- the request to execute the authentication mechanism for
response- the 401 response obtained in the previous attempt to request the protected resource
Proxy-Authenticate) header chosen for this authentication (among the many that the response may contain)
context- the conversation context in case the authentication needs multiple exchanges to be completed and information needs to be stored across exchanges
Copyright © 1995–2017 Webtide. All rights reserved.