com.supermap.services.rest
Class HttpBasicAuthorizer
- java.lang.Object
-
- com.supermap.services.rest.HttpBasicAuthorizer
-
public class HttpBasicAuthorizer extends java.lang.Object${services_rest_HttpBasicAuthorizer_Title}
${services_rest_HttpBasicAuthorizer_Description}
-
-
Constructor Summary
Constructors Constructor and Description HttpBasicAuthorizer()
-
Method Summary
Methods Modifier and Type Method and Description protected voidchallenge(Response response, boolean stale)${services_rest_HttpBasicAuthorizer_method_challenge_Title}protected java.lang.StringgetCorrectPassward(java.lang.String identifier)${services_rest_HttpBasicAuthorizer_method_getCorrectPassward_Title}intverify(Request request, Response response)Verifies the authentication information provided by the client.
-
-
-
Method Detail
-
challenge
protected void challenge(Response response, boolean stale)${services_rest_HttpBasicAuthorizer_method_challenge_Title}
${services_rest_HttpBasicAuthorizer_method_challenge_Description}
- Parameters:
response- ${services_rest_HttpBasicAuthorizer_method_challenge_param_response}stale- ${services_rest_HttpBasicAuthorizer_method_challenge_param_stale}
-
verify
public int verify(Request request, Response response)Verifies the authentication information provided by the client.
- Parameters:
request- request object content.response- Response object content.- Returns:
- The authentication result in RESULT_ * constant, sees org.restlet.security.Verifier for Restlet.
-
getCorrectPassward
protected java.lang.String getCorrectPassward(java.lang.String identifier)
${services_rest_HttpBasicAuthorizer_method_getCorrectPassward_Title}
${services_rest_HttpBasicAuthorizer_method_getCorrectPassward_Description}
- Parameters:
identifier- ${services_rest_HttpBasicAuthorizer_method_getCorrectPassward_param_identifier}- Returns:
- ${services_rest_HttpBasicAuthorizer_method_getCorrectPassward_return}
-
-