|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.connection.adfmf.LoginConnection
public class LoginConnection
LoginConnection is a new ADF Connection type defined as the ADF Mobile Login Server Connection.
Field Summary | |
---|---|
static java.lang.String |
ADDR_TYPE |
static java.lang.String |
ATTR_NAME |
static java.lang.String |
ATTR_PASSWORD |
static java.lang.String |
ATTR_URL |
static java.lang.String |
ATTR_VALUE |
static int |
DEFAULT_IDLE_TIMEOUT |
static int |
DEFAULT_SESSION_TIMEOUT |
static java.lang.String |
ELEM_ACCESS_CONTROL |
static java.lang.String |
ELEM_COOKIE |
static java.lang.String |
ELEM_COOKIE_NAMES |
static java.lang.String |
ELEM_IDLE_TIMEOUT |
static java.lang.String |
ELEM_INJECT_COOKIES_TO_REST_HTTP_HEADER |
static java.lang.String |
ELEM_IS_MULTI_TENANT_AWARE |
static java.lang.String |
ELEM_LOGIN |
static java.lang.String |
ELEM_LOGOUT |
static java.lang.String |
ELEM_MULTI_TENANT_HEADER_NAME |
static java.lang.String |
ELEM_PRIVILEGE |
static java.lang.String |
ELEM_ROLE |
static java.lang.String |
ELEM_SESSION_TIMEOUT |
static java.lang.String |
ELEM_USER_OBJECT_FILTER |
Constructor Summary | |
---|---|
LoginConnection() Default constructor. |
|
LoginConnection(java.lang.String loginUrl, java.lang.String logoutUrl, int idleTimeout, int sessionTimeout, java.util.List<java.lang.String> cookieList, boolean isLoginServerCookieIncluded) Constructor with parameters. |
Method Summary | |
---|---|
java.lang.String |
getAccessControlUrl() Gets the access control URL. |
java.lang.String |
getConnectionId() Gets the connection Id. |
java.util.List<java.lang.String> |
getCookies() Gets the list of cookies. |
java.lang.String |
getCredKey() Gets the credential store key. |
int |
getIdleTimeout() Gets the idle timeout property. |
java.lang.String |
getLoginUrl() Gets the login URL property. |
java.lang.String |
getLogoutUrl() Gets the logout URL property. |
java.lang.String |
getMultiTenantHeaderName() Gets the multi-tenant header name. |
java.util.List<java.lang.String> |
getPrivileges() Gets the list of privileges. |
javax.naming.Reference |
getReference() Gets a reference of our Login Connection type. |
java.util.List<java.lang.String> |
getRoles() Gets the list of roles. |
int |
getSessionTimeout() Gets the session timeout. |
boolean |
isLoginServerCookieIncluded() Determines whether the login server cookie should be included in REST calls. |
boolean |
isMultiTenantAware() Checks the multi-tenant aware boolean flag. |
LoginConnection |
setAccessControlInfo(java.lang.String accessControlUrl, java.util.List<java.lang.String> roleList, java.util.List<java.lang.String> privilegeList) Sets the Access Control informaiton. |
void |
setAccessControlUrl(java.lang.String accessControlUrl) Sets the access control URL. |
void |
setConnectionId(java.lang.String connectionId) Sets the connection Id. |
void |
setCookies(java.util.List<java.lang.String> cookies) Sets the list of cookies. |
void |
setCredKey(java.lang.String credKey) Sets the credential store key. |
void |
setIdleTimeout(int idleTimeout) Sets the idle timeout property. |
void |
setIsLoginServerCookieIncluded(boolean isLoginServerCookieIncluded) Sets the login server cookie included flag. |
void |
setIsMultiTenantAware(boolean isMultiTenantAware) Sets the multi-tenant aware boolean flag. |
void |
setLoginUrl(java.lang.String loginUrl) Sets the login URL property. |
void |
setLogoutUrl(java.lang.String logoutUrl) Sets the logout URL property. |
void |
setMultiTenantHeaderName(java.lang.String multiTenantHeaderName) Sets the multi-tenant header name. |
LoginConnection |
setMultiTenantInfo(boolean isMultiTenantAware, java.lang.String multiTenantHeaderName) Sets the MultiTenant information. |
void |
setPrivileges(java.util.List<java.lang.String> privileges) Sets the list of privileges. |
void |
setRoles(java.util.List<java.lang.String> roles) Sets the list of roles. |
void |
setSessionTimeout(int sessionTimeout) Sets the session timeout property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ADDR_TYPE
public static final java.lang.String ELEM_LOGIN
public static final java.lang.String ELEM_LOGOUT
public static final java.lang.String ELEM_ACCESS_CONTROL
public static final java.lang.String ELEM_IDLE_TIMEOUT
public static final java.lang.String ELEM_SESSION_TIMEOUT
public static final java.lang.String ELEM_COOKIE_NAMES
public static final java.lang.String ELEM_COOKIE
public static final java.lang.String ELEM_USER_OBJECT_FILTER
public static final java.lang.String ELEM_ROLE
public static final java.lang.String ELEM_PRIVILEGE
public static final java.lang.String ELEM_IS_MULTI_TENANT_AWARE
public static final java.lang.String ELEM_MULTI_TENANT_HEADER_NAME
public static final java.lang.String ELEM_INJECT_COOKIES_TO_REST_HTTP_HEADER
public static final java.lang.String ATTR_VALUE
public static final java.lang.String ATTR_URL
public static final java.lang.String ATTR_NAME
public static final java.lang.String ATTR_PASSWORD
public static final int DEFAULT_IDLE_TIMEOUT
public static final int DEFAULT_SESSION_TIMEOUT
Constructor Detail |
---|
public LoginConnection()
public LoginConnection(java.lang.String loginUrl, java.lang.String logoutUrl, int idleTimeout, int sessionTimeout, java.util.List<java.lang.String> cookieList, boolean isLoginServerCookieIncluded)
loginUrl
- login URL propertylogoutUrl
- logout URL propertyidleTimeout
- idle timeout in secondssessionTimeout
- session timeout in secondscookieList
- list of cookies used to assist reading authentication responsesMethod Detail |
---|
public LoginConnection setAccessControlInfo(java.lang.String accessControlUrl, java.util.List<java.lang.String> roleList, java.util.List<java.lang.String> privilegeList)
accessControlUrl
- access control server UrlroleList
- a list of roles in the user filterprivilegeList
- a list of privileges in the user filterpublic LoginConnection setMultiTenantInfo(boolean isMultiTenantAware, java.lang.String multiTenantHeaderName)
isMultiTenantAware
- boolean value indicating whether the login server is multi-tenant awaremultiTenantHeaderName
- tenant id header propertypublic javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public void setLoginUrl(java.lang.String loginUrl)
loginUrl
- login URLpublic java.lang.String getLoginUrl()
public void setLogoutUrl(java.lang.String logoutUrl)
logoutUrl
- logout URLpublic java.lang.String getLogoutUrl()
public void setIdleTimeout(int idleTimeout)
idleTimeout
- the idle timeout valuepublic int getIdleTimeout()
public void setSessionTimeout(int sessionTimeout)
sessionTimeout
- the session timeout valuepublic int getSessionTimeout()
public void setCookies(java.util.List<java.lang.String> cookies)
cookies
- the list of cookiespublic java.util.List<java.lang.String> getCookies()
public void setConnectionId(java.lang.String connectionId)
connectionId
- the connection Idpublic java.lang.String getConnectionId()
public void setCredKey(java.lang.String credKey)
credKey
- the credential store keypublic java.lang.String getCredKey()
public void setAccessControlUrl(java.lang.String accessControlUrl)
accessControlUrl
- url for the access control serverpublic java.lang.String getAccessControlUrl()
public void setRoles(java.util.List<java.lang.String> roles)
roles
- the list of rolespublic java.util.List<java.lang.String> getRoles()
public void setPrivileges(java.util.List<java.lang.String> privileges)
privileges
- the list of privilegespublic java.util.List<java.lang.String> getPrivileges()
public void setMultiTenantHeaderName(java.lang.String multiTenantHeaderName)
multiTenantHeaderName
- the multi-tenant header namepublic java.lang.String getMultiTenantHeaderName()
public void setIsMultiTenantAware(boolean isMultiTenantAware)
isMultiTenantAware
- true if the login server is multi-tenant awarepublic boolean isMultiTenantAware()
public void setIsLoginServerCookieIncluded(boolean isLoginServerCookieIncluded)
isLoginServerCookieIncluded
- true if the login server cookie should be included in REST calls. false otherwisepublic boolean isLoginServerCookieIncluded()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |