com.atlassian.bamboo.rest
Interface SessionManager

All Known Implementing Classes:
DefaultSessionManager

public interface SessionManager

This describes the remote api user session manager.


Field Summary
static java.lang.String ANONYMOUS_USER
          The name of the anonymous user if no authorisation is provided.
 
Method Summary
 java.lang.String getUserNameFromSession(java.lang.String sessionId)
           
 java.lang.String login(java.lang.String username, java.lang.String password)
           
 void logout(java.lang.String sessionId)
           
 

Field Detail

ANONYMOUS_USER

static final java.lang.String ANONYMOUS_USER
The name of the anonymous user if no authorisation is provided.

See Also:
Constant Field Values
Method Detail

login

java.lang.String login(java.lang.String username,
                       java.lang.String password)
                       throws BambooRemoteException
Throws:
BambooRemoteException

logout

void logout(java.lang.String sessionId)

getUserNameFromSession

java.lang.String getUserNameFromSession(java.lang.String sessionId)
                                        throws BambooRemoteException
Throws:
BambooRemoteException


Copyright © 2012 Atlassian. All Rights Reserved.