com.atlassian.crowd.plugin.rest.admin.resources
Class LoginSessionResource
java.lang.Object
com.atlassian.crowd.plugin.rest.admin.resources.LoginSessionResource
public class LoginSessionResource
- extends Object
Allows a client to obtain a Crowd cookie
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginSessionResource
public LoginSessionResource()
authenticateAdministrator
public RestToken authenticateAdministrator(String username,
String password)
- POSTing to the resource creates a new session using the username and password supplied. For this to succeed, the
user must be a Crowd administrator.
- Returns:
setLoginSessionController
public void setLoginSessionController(LoginSessionController loginSessionController)
Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.