public class HubSwingClientAuthorizer extends Object implements ClientAuthorizer
| Constructor and Description | 
|---|
| HubSwingClientAuthorizer(Component parent,
                        CredentialPresenter presenter)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | authorize(HttpServer.Request request,
         Map securityMap)Indicates whether an HTTP request representing an otherwise
 unauthorized connection attempt will be permitted access to
 sensitive system resources. | 
public HubSwingClientAuthorizer(Component parent, CredentialPresenter presenter)
parent - parent componentpresenter - handles credential presentation to the userpublic void authorize(HttpServer.Request request, Map securityMap) throws SampException
ClientAuthorizerauthorize in interface ClientAuthorizerrequest - incoming HTTP requestsecurityMap - credential items supplied explicitly by
                        aspiring client to support its registration
                        requestSampException - with reason if authorization is deniedCopyright © 2008–2024. All rights reserved.