|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.IdcContext
public class IdcContext
Holds user-specific information needed to execute a Content Server service.
Nested Class Summary | |
---|---|
static class |
IdcContext.HttpAuthScheme Http authentication schema |
static class |
IdcContext.LoginForm Form information to allow login to clients with form-based authentication |
Field Summary | |
---|---|
static String |
DEFAULT_ENCODING default encoding |
static String |
DEFAULT_USER applications are using this! |
static IdcContext.LoginForm |
JAAS_FORM standard form configuration for an application server JAAS login |
static String |
JSESSION_ID default session ID cookie for Content Server |
static IdcContext.LoginForm |
OAM_SSO_FORM standard form configuration for OAM SSO |
static IdcContext.LoginForm |
OIM_SSO_FORM standard form configuration for OIM SSO |
static String |
UCM_SESSION_ID old cookie name used on Content Server before revision 87672 in the 11.1.1.4.0 branch (8/16/2010) |
static String |
USER_AGENT |
Constructor Summary | |
---|---|
IdcContext() |
|
IdcContext(Credentials credentials) |
|
IdcContext(String user) |
|
IdcContext(String user, Credentials credentials) Deprecated. |
|
IdcContext(String user, String password) |
Method Summary | |
---|---|
void |
addCookie(RIDCCookie cookie) |
void |
addHeader(String name, String value) Add a header to this request |
void |
clearCookies() Clear all cookies |
void |
clearHeaders() Clear the available headers |
void |
clearParameters() Clear the available parameters |
IdcContext.HttpAuthScheme |
getAuthScheme() |
RIDCCookie |
getCookie(String name) Retrieve a cookie by name |
Set<String> |
getCookieNames() |
Credentials |
getCredentials() |
String |
getEncoding() |
String |
getHeader(String name) Retrieve the header value for the given name |
Set<String> |
getHeaderNames() |
IdcContext.LoginForm |
getLoginForm() |
Object |
getParameter(String name) Retrieve the parameter value for the given name |
String |
getParameterAsString(String name) Retreieve the parameter value for the given name as a String |
Set<String> |
getParameterNames() |
String |
getSessionCookie() The name of the session cookie. |
String |
getUser() |
String |
getUserAgent() |
boolean |
hasCredentials() |
void |
setAuthScheme(IdcContext.HttpAuthScheme authScheme) |
void |
setCredentials(Credentials credentials) Set some credentials for this context. |
void |
setEncoding(String encoding) Set the encoding to use |
void |
setLoginForm(IdcContext.LoginForm loginForm) |
void |
setParameter(String name, Object value) Set a parameter into this request |
void |
setSessionCookie(String sessionCookie) |
void |
setUser(String user) Deprecated. |
void |
setUserAgent(String userAgent) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String USER_AGENT
public static final String JSESSION_ID
public static final String UCM_SESSION_ID
public static final String DEFAULT_ENCODING
public static IdcContext.LoginForm JAAS_FORM
public static IdcContext.LoginForm OAM_SSO_FORM
public static IdcContext.LoginForm OIM_SSO_FORM
public static final String DEFAULT_USER
Constructor Detail |
---|
public IdcContext()
public IdcContext(String user)
public IdcContext(String user, String password)
public IdcContext(Credentials credentials)
@Deprecated
public IdcContext(String user,
Credentials credentials)
user
-credentials
-IllegalArgumentException
- if the user doesn't match the credential's userMethod Detail |
---|
public String getUser() throws IllegalArgumentException
IllegalArgumentException
@Deprecated
public void setUser(String user)
user
- the user nameIllegalArgumentException
public boolean hasCredentials()
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials
- the credentialspublic String getEncoding()
public void setEncoding(String encoding)
encoding
- the encodingpublic String getUserAgent()
public void setUserAgent(String userAgent)
userAgent
- the user agent to usepublic IdcContext.LoginForm getLoginForm()
public void setLoginForm(IdcContext.LoginForm loginForm)
public IdcContext.HttpAuthScheme getAuthScheme()
public void setAuthScheme(IdcContext.HttpAuthScheme authScheme)
public String getSessionCookie()
public void setSessionCookie(String sessionCookie)
public void addHeader(String name, String value)
name
- the header namevalue
- the header valuepublic String getHeader(String name)
name
- the header namepublic Set<String> getHeaderNames()
public void clearHeaders()
public void addCookie(RIDCCookie cookie)
cookie
- the cookie to send with each requestpublic RIDCCookie getCookie(String name)
name
- the cookie namepublic Set<String> getCookieNames()
public void clearCookies()
public void setParameter(String name, Object value)
name
- the header namevalue
- the header valuepublic Object getParameter(String name)
name
- the parameter namepublic String getParameterAsString(String name)
name
- the parameter namepublic Set<String> getParameterNames()
public void clearParameters()
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |