public final class CookieCredential extends Object implements IMDMCredential
IMDMCredential
implementation is useful when client is a webapp running
inside a servlet container and when single sign-on is configured between this web app and Convergence for MDM web application.
Usage :
HttpServletRequest httpServletRequest = ...; // Retrieve a httpServletRequest from client web application IMDMConnection conn = MDMConnectionFactory.connect(url, new CookieCredential(httpServletRequest.getCookies()));
Constructor and Description |
---|
CookieCredential(javax.servlet.http.Cookie[] pCookies) |
public javax.servlet.http.Cookie[] getCookies()
public String toString()
toString
in interface IMDMCredential
toString
in class Object
Copyright © 2015. All Rights Reserved.