Package com.atlassian.bamboo.rest
Interface SessionManager
-
- All Known Implementing Classes:
DefaultSessionManager
public interface SessionManager
This describes the remote api user session manager.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ANONYMOUS_USER
The name of the anonymous user if no authorisation is provided.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getUserNameFromSession(String sessionId)
String
login(String username, String password)
void
logout(String sessionId)
-
-
-
Field Detail
-
ANONYMOUS_USER
static final String ANONYMOUS_USER
The name of the anonymous user if no authorisation is provided.- See Also:
- Constant Field Values
-
-
Method Detail
-
login
String login(String username, String password) throws BambooRemoteException
- Throws:
BambooRemoteException
-
logout
void logout(String sessionId)
-
getUserNameFromSession
String getUserNameFromSession(String sessionId) throws BambooRemoteException
- Throws:
BambooRemoteException
-
-