Package com.atlassian.bamboo.rest
Interface SessionManager
-
- All Known Implementing Classes:
DefaultSessionManager
public interface SessionManagerThis describes the remote api user session manager.
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_USERThe name of the anonymous user if no authorisation is provided.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetUserNameFromSession(String sessionId)Stringlogin(String username, String password)voidlogout(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
-
-