org.eclipse.lyo.client.oslc.jazz
Class JazzFormAuthClient
java.lang.Object
org.eclipse.lyo.client.oslc.OslcClient
org.eclipse.lyo.client.oslc.jazz.JazzFormAuthClient
public class JazzFormAuthClient
- extends OslcClient
An OSLC client for IBM Rational Jazz servers using Form Auth to authenticate.
Accesses the Jazz rootservices URL to lookup the OSLC Catlalog location
This class is not currently thread safe.
Methods inherited from class org.eclipse.lyo.client.oslc.OslcClient |
createResource, createResource, deleteResource, getClientConfig, getClientPool, getHttpClient, getQueryResource, getResource, lookupCreationFactory, lookupQueryCapability, lookupServiceProviderUrl, updateResource, updateResource, updateResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JazzFormAuthClient
public JazzFormAuthClient()
JazzFormAuthClient
public JazzFormAuthClient(String url,
String user,
String password)
- Create a new Jazz Form Auth client for the given URL, user and password
- Parameters:
url
- - the URL of the Jazz server, including the web app contextuser
- password
-
JazzFormAuthClient
public JazzFormAuthClient(String url,
String authUrl,
String user,
String password)
- Create a new Jazz Form Auth client for the given URL, user and password
- Parameters:
url
- - the URL of the Jazz server, including the web app contextauthUrl
- - the base URL to use for authentication. This is normally the
application base URL for RQM and RTC and is the JTS application URL for fronting
applications like RRC and DM.user
- password
-
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getAuthUrl
public String getAuthUrl()
setAuthUrl
public void setAuthUrl(String authUrl)
getProject
public String getProject()
setProject
public void setProject(String project)
getUser
public String getUser()
setUser
public void setUser(String user)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
formLogin
public int formLogin()
throws JazzAuthFailedException,
JazzAuthErrorException
- Execute the sequence of HTTP requests to perform a form login to a Jazz server
- Throws:
JazzAuthFailedException
JazzAuthErrorException
Copyright © 2013. All Rights Reserved.