com.atlassian.crowd.plugin.rest.admin.resources
Class LoginSessionResource

java.lang.Object
  extended by com.atlassian.crowd.plugin.rest.admin.resources.LoginSessionResource

public class LoginSessionResource
extends Object

Allows a client to obtain a Crowd cookie


Constructor Summary
LoginSessionResource()
           
 
Method Summary
 RestToken authenticateAdministrator(String username, String password)
          POSTing to the resource creates a new session using the username and password supplied.
 void setLoginSessionController(LoginSessionController loginSessionController)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginSessionResource

public LoginSessionResource()
Method Detail

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.