com.gentics.cr.cms
Class RESTAPISessionCredentialStore

java.lang.Object
  extended by com.gentics.cr.cms.RESTAPISessionCredentialStore
Direct Known Subclasses:
AbstractUserPasswordRESTAPISessionCredentialStore

public abstract class RESTAPISessionCredentialStore
extends Object

The Class RESTAPISessionCredentialStore.

 

Field Summary
private  ArrayList<Object> cookies
          Cookies;.
private  String sessionId
          SessionId.
 
Constructor Summary
RESTAPISessionCredentialStore()
           
 
Method Summary
 void doLogin(com.sun.jersey.api.client.WebResource base)
          This method is being called by the RequestProcessor if it needs to be logged in.
 ArrayList<Object> getCookies()
          Gets the cookies of this session store.
 String getSessionId()
          Gets the Session ID of this store.
protected abstract  String login(com.sun.jersey.api.client.WebResource base)
          Logs the user into the CMS and returns the session id (sid).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionId

private String sessionId
SessionId.


cookies

private ArrayList<Object> cookies
Cookies;.

Constructor Detail

RESTAPISessionCredentialStore

public RESTAPISessionCredentialStore()
Method Detail

doLogin

public final void doLogin(com.sun.jersey.api.client.WebResource base)
This method is being called by the RequestProcessor if it needs to be logged in.

Parameters:
base - the base

getSessionId

public final String getSessionId()
Gets the Session ID of this store.

Returns:
session ID.

login

protected abstract String login(com.sun.jersey.api.client.WebResource base)
Logs the user into the CMS and returns the session id (sid).

Parameters:
base - the base
Returns:
session id

getCookies

public ArrayList<Object> getCookies()
Gets the cookies of this session store.

Returns:
cookies


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.