org.wso2.carbon.appfactory.git
Class AppFactoryAuthenticationClient
java.lang.Object
org.wso2.carbon.appfactory.git.AppFactoryAuthenticationClient
public class AppFactoryAuthenticationClient
- extends Object
The client for authenticate user using AuthenticationAdmin web service
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppFactoryAuthenticationClient
public AppFactoryAuthenticationClient(GitBlitConfiguration configuration)
- Constructor taking Gitblit configuration
- Parameters:
configuration -
authenticate
public String authenticate(String userName,
String password)
- Authenticate user and return a valid cookie
- Parameters:
userName - password -
- Returns:
- a valid cookie if authentication is successful otherwise null
logout
public void logout()
Copyright © 2015 WSO2 Inc. All rights reserved.