com.gentics.cr.cms
Class AbstractUserPasswordRESTAPISessionCredentialStore

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

public abstract class AbstractUserPasswordRESTAPISessionCredentialStore
extends RESTAPISessionCredentialStore

The Class AbstractUserPasswordRESTAPISessionCredentialStore.

 

Constructor Summary
AbstractUserPasswordRESTAPISessionCredentialStore()
           
 
Method Summary
abstract  String getPassword()
          Gets the password.
abstract  String getUsername()
          Gets the username.
protected  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 com.gentics.cr.cms.RESTAPISessionCredentialStore
doLogin, getCookies, getSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUserPasswordRESTAPISessionCredentialStore

public AbstractUserPasswordRESTAPISessionCredentialStore()
Method Detail

login

protected String login(com.sun.jersey.api.client.WebResource base)
Description copied from class: RESTAPISessionCredentialStore
Logs the user into the CMS and returns the session id (sid).

Specified by:
login in class RESTAPISessionCredentialStore
Parameters:
base - the base
Returns:
session id

getUsername

public abstract String getUsername()
Gets the username.

Returns:
the username

getPassword

public abstract String getPassword()
Gets the password.

Returns:
the password


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.