public class OwRestletBasicAuthenticationHandler extends Object implements OwRestletAuthenticationHandler
Simple HTTP-BASIC authentication RESTlet handler.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwRestletBasicAuthenticationHandler(String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
prepareCall(org.restlet.resource.ClientResource restCall)
Prepare a RESTlet call for current authentication mechanism.
Can throw OwRuntimeException in case of possible problems retrieving data. |
public void prepareCall(org.restlet.resource.ClientResource restCall)
OwRestletAuthenticationHandler
prepareCall
in interface OwRestletAuthenticationHandler
restCall
- org.restlet.resource.ClientResourceCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.