Class RidcConnectionImpl
- All Implemented Interfaces:
oracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class oracle.wcc.ridc.adfca.RidcConnection
RidcConnection.Protocol -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRidcConnectionImpl(oracle.adf.mbean.share.connection.wcc.WccConnection connection) Protected Constructor for Instantiating RidcConnectionImpl -
Method Summary
Modifier and TypeMethodDescriptioncreateImpersonationBinder(String impersonatee, boolean sticky) Create a new DataBinder that is initialized with properties to support impersonation.Get a credential for the anonymous user.Gets the connection's name.Evaluates the credentials stored for this connection instance along with the protocol being leveraged and infers / returns the user context deemed most appropriate.getCredential(String username) Attempt to obtain for the specified username an appropriate user context object.Attempt to obtain for the user as seen by the ADF Security Context an appropriate user context object.getCredentialForADFSecurityContextUser(boolean anonymousSupported) Attempt to obtain for the user as seen by the ADF Security Context an appropriate user context object.getCredentialForImpersonatee(String impersonatee, IdcContext impersonatorContext) Leverages the specified impersonator user context to invoke a PING_SERVER call to the Content Server with impersonation properties set in the request DataBinder requesting sticky impersonation for the specified impersonatee.Gets the IdcClient instance for this connection.char[]char[]char[]char[]Gets the session pool anonymous fallback property.Gets the connection's protocol type.Gets the RidcCredentialProvider Class to utilize to generate the initial IdcContext for new RidcSession instances created within the ADF session-scoped Session Pool.booleanReturns true if the connection's protocol is HTTPbooleanReturns true if the connection's protocol is IntradocbooleanReturns true if the connection's protocol is JAX/WSvoidlogout(IdcContext userContext) Attempt to logout the session wrapped by the specified IdcContext instance.ping()Invoke an anonymous PING_SERVER call to the Content Server associated with this connection.voidsetIdcClient(IdcClient idcClient) Sets the IdcClient instance that got created based on this connection's properties; specifically connection URL.voidsetPropConnectionPoolMethod(String PropConnectionPoolMethod) voidsetPropConnectionPoolSize(Integer PropConnectionPoolSize) voidsetPropConnectionProtocol(String PropConnectionProtocol) voidsetPropConnectionSocketTimeout(Integer PropConnectionSocketTimeout) voidsetPropConnectionUrl(String PropConnectionUrl) voidsetPropConnectionWaitTime(Integer PropConnectionWaitTime) voidsetPropCredentialAppIdKey(String PropCredentialAppIdKey) voidsetPropCredentialImpersonationAllowed(Boolean PropCredentialImpersonationAllowed) voidsetPropCredentialPassword(String PropCredentialPassword) voidsetPropCredentialUsername(String PropCredentialUsername) voidsetPropProtocolHttpLibrary(String PropProtocolHttpLibrary) voidsetPropProtocolIdcsAlgorithm(String PropProtocolIdcsAlgorithm) voidsetPropProtocolIdcsKeystoreAlias(String PropProtocolIdcsKeystoreAlias) voidsetPropProtocolIdcsKeystoreAliasPassword(String PropProtocolIdcsKeystoreAliasPassword) voidsetPropProtocolIdcsKeystoreFile(String PropProtocolIdcsKeystoreFile) voidsetPropProtocolIdcsKeystorePassword(String PropProtocolIdcsKeystorePassword) voidsetPropProtocolIdcsTrustManagerFile(String PropProtocolIdcsTrustManagerFile) voidsetPropProtocolIdcsTrustManagerPassword(String PropProtocolIdcsTrustManagerPassword) voidsetPropProtocolJaxWSJpsConfigFile(String PropProtocolJaxWSJpsConfigFile) voidsetPropProtocolJaxWSPolicy(String PropProtocolJaxWSPolicy) voidsetPropProtocolJaxWSRegisterIdentitySwitchFilter(Boolean PropProtocolJaxWSRegisterIdentitySwitchFilter) voidsetPropProtocolJaxWSServerInsName(String PropProtocolJaxWSServerInsName) voidsetPropProtocolJaxWSSkipStackOptimize(Boolean PropProtocolJaxWSSkipStackOptimize) voidsetPropProtocolJaxWSStack(String PropProtocolJaxWSStack) voidsetPropSessionPoolAnonymousFallback(Boolean PropSessionPoolAnonymousFallback) voidsetPropSessionPoolCredentialProviderClass(String PropSessionPoolCredentialProviderClass) voidsetPropSessionPoolSupport(Boolean PropSessionPoolSupport) voidsetProtocol(RidcConnection.Protocol protocol) Sets the connection's protocol type.voidsetSessionPoolCredentialProviderClass(Class credProviderClass) Sets the The RidcCredentialProvider Class to utilize to generate the initial IdcContext for new RidcSession instances created within the ADF session-scoped Session Pool.Methods inherited from class oracle.wcc.ridc.adfca.RidcConnection
createBinder, getConnection, getIdcClientManager, sendRequest
-
Constructor Details
-
Method Details
-
getConnectionName
Gets the connection's name.- Specified by:
getConnectionNamein classRidcConnection- Returns:
- name of the connection
-
setIdcClient
Sets the IdcClient instance that got created based on this connection's properties; specifically connection URL.- Parameters:
idcClient- The IdcClient instance for this connection
-
getIdcClient
Gets the IdcClient instance for this connection.- Specified by:
getIdcClientin classRidcConnection- Returns:
- IdcClient the IdcClient instance
-
setProtocol
Sets the connection's protocol type.- Parameters:
protocol- protocol type (intradoc / http / jaxws)
-
getProtocol
Gets the connection's protocol type.- Specified by:
getProtocolin classRidcConnection- Returns:
- protocol type (intradoc / http / jaxws)
-
isJaxwsConnection
public boolean isJaxwsConnection()Returns true if the connection's protocol is JAX/WS- Specified by:
isJaxwsConnectionin classRidcConnection- Returns:
- true if leveraging the JAX/WS protocol
-
isHttpConnection
public boolean isHttpConnection()Returns true if the connection's protocol is HTTP- Specified by:
isHttpConnectionin classRidcConnection- Returns:
- true if leveraging the HTTP protocol
-
isIntradocConnection
public boolean isIntradocConnection()Returns true if the connection's protocol is Intradoc- Specified by:
isIntradocConnectionin classRidcConnection- Returns:
- true if leveraging the Intradoc protocol
-
logout
Attempt to logout the session wrapped by the specified IdcContext instance.Note - Earlier versions of RIDC did not provide a logout method; To allow this connection architecture to potentially work with older RIDC api, we use a static initializer and reflection to determine if logout method is present. Only if the method is present do we invoke it.
A logout may also be a NO-OP for certain RIDC connection protocols.
- Specified by:
logoutin classRidcConnection- Parameters:
userContext- The user context object
-
ping
Invoke an anonymous PING_SERVER call to the Content Server associated with this connection.- Specified by:
pingin classRidcConnection- Returns:
- The response DataBinder
- Throws:
IdcClientException
-
createImpersonationBinder
Create a new DataBinder that is initialized with properties to support impersonation.Note - Impersonation is only available with specific versions of the Content Server
Impersonation can be either per request, or sticky (survive the request).
Per-request impersonation is likely the safest approach; The app should configure a pool of impersonator (person whom has privileges to impersonate another user) user contexts, and then when impersonation is required call this method to add the "RunAs" property in the request DataBinder with value set to the impersonatee (person being impersonated).
Warning 1 - Be very careful with impersonation - particularly sticky impersonation;
Should the session associated with an IdcContext expire, it is possible with certain RIDC protocols that the connection may be silently re-established using the actual impersonator user rather than the impersonatee intended. Subsequently, the request to UCM will go across using the impersonator user rather than the impersonatee (person being impersonated) which could have bad security consequences.Warning 2 - If the end-user is able to inject properties in to the DataBinder without sanitization, and sticky impersonation is active, a malicious end-user could supply the property "StickyImpersonation" with value "false" in a request, which would restore the connection back as the impersonator user.
- Specified by:
createImpersonationBinderin classRidcConnection- Parameters:
impersonatee- The user whom will be impersonatedsticky- set to true if impersonation should survive the request- Returns:
- A DataBinder initialized with properties required for impersonation.
-
getAnonymousCredential
Get a credential for the anonymous user.- Specified by:
getAnonymousCredentialin classRidcConnection- Returns:
- A user context object for the anonymous user
-
getCredential
Evaluates the credentials stored for this connection instance along with the protocol being leveraged and infers / returns the user context deemed most appropriate.Care should be taken when creating/updating a connection that only the appropriate credential properties are set, and the others set to null/None.
*** If the connection has no credential properties set, an IllegalStateException will be thrown.
Important Rules / Notes:
Intradoc protocol
Returns an IdcContext leveraging just the username connection propHTTP Protocol
Returns an IdcContext leveraging the username and password connection properties.JAX/WS Protocol
Returns an IdcContext with AppIdClientCredentials should the credential.appidkey prop be non empty.
** Otherwise
Returns an IdcContext leveraging the username and password connection properties if the password property is non-null with length > 0.
** Otherwise
Returns an IdcContext leveraging the username connection prop.- Specified by:
getCredentialin classRidcConnection- Returns:
- A user context object based on the protocol and credential properties set for this connection
-
getCredentialForADFSecurityContextUser
Attempt to obtain for the user as seen by the ADF Security Context an appropriate user context object.If the ADF security context believes no user is authenticated, a null (IdcContext) object will be returned.
See Important Rules / Notes outlined for the
getCredential(String username)method;In particular understand that null will be returned if it is deemed the only way to support the request is to leverage identity impersonation and that identity impersonation has not been enabled or failed for the connection.
- Specified by:
getCredentialForADFSecurityContextUserin classRidcConnection- Returns:
- A user context object for the authenticated user seen by the ADF Security Context (if possible based on the connection definition). Null otherwise.
-
getCredentialForADFSecurityContextUser
Attempt to obtain for the user as seen by the ADF Security Context an appropriate user context object.If the ADF security context believes no user is authenticated, an IdcContext object wrapping the anonymous credential will be returned should the anonymousSupported method property be set to true.
See Important Rules / Notes outlined for the
getCredential(String username)method;In particular understand that null will be returned if it is deemed the only way to support the request is to leverage identity impersonation and that identity impersonation has not been enabled or failed for the connection.
- Specified by:
getCredentialForADFSecurityContextUserin classRidcConnection- Parameters:
anonymousSupported- whether to support returning of anonymous credentials for non-Authenticated users.- Returns:
- when anonymousSupported is true, an anonymous credential will be returned if the ADF Security Context believes no user is authenticated. When an authenticated user is seen by the ADF Security Context, a best-effort attempt will be made to obtain a user context object for the user. null will be returned in all other cases.
-
getCredential
Attempt to obtain for the specified username an appropriate user context object.Whether this can be achieved may depend on the connection properties such as protocol being leveraged, what credentials are set on the connection, whether identity impersonation is enabled etc.
Method Rules:
Throws IllegalArgumentException if the specified username is null or trimmed empty.
Intradoc protocol
Returns an IdcContext wrapping the specified username.
Intradoc is a trusted protocol and requires no passwords, hence so long as the specified username is valid, and the server trusts the client's ip address, everything should work as expected.HTTP protocol
Returns null if no credentials are set for the connection.
** Otherwise
Returns an IdcContext associated with the connection should the specified username match the connection's stored username.
** Otherwise
Returns null if identity impersonation has not been enabled.
** Otherwise
If impersonation feature is enabled, the connection's username and password properties will be leveraged to obtain a user context credential that will deemed the impersonatorContext. This impersonatorContext credential along with the specified username (aka impersonatee) will be passed on to the getCredentialForImpersonatee() method and the user context obtained as a result returned. getCredentialForImpersonatee() will return a null user context if impersonation fails.JAX/WS protocol
Returns an IdcContext wrapping the specified username should either no credentials be set for the connection, or only the username property be set. (This assumes client policy is SAML based and Identity Switch will be leveraged).
** Otherwise
Returns an IdcContext associated with the connection should the specified username match the connection's stored username.
** Otherwise
Returns null if identity impersonation has not been enabled.
** Otherwise
If impersonation feature is enabled, the connection's appid key / or username and password properties will be leveraged to obtain a user context credential that will deemed the impersonatorContext. This impersonatorContext credential along with the specified username (aka impersonatee) will be passed on to the getCredentialForImpersonatee() method and the user context obtained as a result returned. getCredentialForImpersonatee() will return a null user context if impersonation fails.Important Notes:
If impersonation will be leveraged to obtain the user context for the specified username, please take note of the Important Security Warnings found in the javadoc for the
createImpersonationBinder(String impersonatee, boolean sticky)method;Impersonation in general requires:
- Destination UCM Server to be a suitable version that supports impersonation concept.
- UCM Server to have impersonation feature activated
- The Connection's stored credential to be that of a valid user / appidkey whom possesses the role configured/required for impersonation
- The connection to be configured with the impersonation property enabled
JAX/WS Identity Switch info:
In order to make a SAML connection to the UCM server leveraging a user not matching the authenticated subject, an identity switch SAML policy would ordinarily be required. Additionally, a special codesource permission grant of type oracle.wsm.security.WSIdentityPermission is required for the application on the on wsm-agent-core.jar. If the policy configured for the JAX/WS RIDC connection be it explicitly or by way of GPA does not set subject.precedence=false, identity switch will not function. By setting the protocol.jaxws.registeridentityswitchfilter property to true on the connection, a special filter that gets invoked before each JAX/WS request will override this property to ensure subject.precedence=false.- Specified by:
getCredentialin classRidcConnection- Parameters:
username- the user for which an appropriate user context object is required.- Returns:
- A user context object based on the protocol and credential properties set for this connection; or null if this was not possible.
-
getCredentialForImpersonatee
Leverages the specified impersonator user context to invoke a PING_SERVER call to the Content Server with impersonation properties set in the request DataBinder requesting sticky impersonation for the specified impersonatee.If the response binder obtained from the PING_SERVER has a dUser value matching that of the impersonatee supplied, then the impersonation is deemed successful and the impersonatorContext will be returned to the callee. This user context is now impersonating the impersonatee.
Otherwise, if impersonation failed, the impersonatorContext is logged out and null is returned.
See Important Security Warnings found in the javadoc for the
createImpersonationBinder(String impersonatee, boolean sticky)method;Also note, this method will attempt impersonation regardless of whether the underlying connection has the impersonation property enabled!
- Specified by:
getCredentialForImpersonateein classRidcConnection- Parameters:
impersonatee- person being impersonatedimpersonatorContext- user context of person whom has privileges to impersonate another user.- Returns:
- impersonatorContext now acting as the impersonatee if impersonation succeeded, otherwise null.
-
setPropConnectionProtocol
- Specified by:
setPropConnectionProtocolin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionProtocol
- Specified by:
getPropConnectionProtocolin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropConnectionUrl
- Specified by:
setPropConnectionUrlin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionUrl
- Specified by:
getPropConnectionUrlin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropConnectionSocketTimeout
- Specified by:
setPropConnectionSocketTimeoutin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionSocketTimeout
- Specified by:
getPropConnectionSocketTimeoutin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropConnectionPoolMethod
- Specified by:
setPropConnectionPoolMethodin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionPoolMethod
- Specified by:
getPropConnectionPoolMethodin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropConnectionPoolSize
- Specified by:
setPropConnectionPoolSizein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionPoolSize
- Specified by:
getPropConnectionPoolSizein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropConnectionWaitTime
- Specified by:
setPropConnectionWaitTimein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropConnectionWaitTime
- Specified by:
getPropConnectionWaitTimein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropCredentialUsername
- Specified by:
setPropCredentialUsernamein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropCredentialUsername
- Specified by:
getPropCredentialUsernamein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropCredentialPassword
- Specified by:
setPropCredentialPasswordin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropCredentialPassword
public char[] getPropCredentialPassword() -
setPropCredentialAppIdKey
- Specified by:
setPropCredentialAppIdKeyin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropCredentialAppIdKey
- Specified by:
getPropCredentialAppIdKeyin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropCredentialImpersonationAllowed
- Specified by:
setPropCredentialImpersonationAllowedin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropCredentialImpersonationAllowed
- Specified by:
getPropCredentialImpersonationAllowedin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSStack
- Specified by:
setPropProtocolJaxWSStackin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSStack
- Specified by:
getPropProtocolJaxWSStackin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSPolicy
- Specified by:
setPropProtocolJaxWSPolicyin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSPolicy
- Specified by:
getPropProtocolJaxWSPolicyin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSJpsConfigFile
- Specified by:
setPropProtocolJaxWSJpsConfigFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSJpsConfigFile
- Specified by:
getPropProtocolJaxWSJpsConfigFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSSkipStackOptimize
- Specified by:
setPropProtocolJaxWSSkipStackOptimizein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSSkipStackOptimize
- Specified by:
getPropProtocolJaxWSSkipStackOptimizein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSServerInsName
- Specified by:
setPropProtocolJaxWSServerInsNamein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSServerInsName
- Specified by:
getPropProtocolJaxWSServerInsNamein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolJaxWSRegisterIdentitySwitchFilter
public void setPropProtocolJaxWSRegisterIdentitySwitchFilter(Boolean PropProtocolJaxWSRegisterIdentitySwitchFilter) - Specified by:
setPropProtocolJaxWSRegisterIdentitySwitchFilterin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolJaxWSRegisterIdentitySwitchFilter
- Specified by:
getPropProtocolJaxWSRegisterIdentitySwitchFilterin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolHttpLibrary
- Specified by:
setPropProtocolHttpLibraryin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolHttpLibrary
- Specified by:
getPropProtocolHttpLibraryin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolIdcsAlgorithm
- Specified by:
setPropProtocolIdcsAlgorithmin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsAlgorithm
- Specified by:
getPropProtocolIdcsAlgorithmin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolIdcsKeystoreFile
- Specified by:
setPropProtocolIdcsKeystoreFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsKeystoreFile
- Specified by:
getPropProtocolIdcsKeystoreFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolIdcsKeystorePassword
- Specified by:
setPropProtocolIdcsKeystorePasswordin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsKeystorePassword
public char[] getPropProtocolIdcsKeystorePassword() -
setPropProtocolIdcsKeystoreAlias
- Specified by:
setPropProtocolIdcsKeystoreAliasin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsKeystoreAlias
- Specified by:
getPropProtocolIdcsKeystoreAliasin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolIdcsKeystoreAliasPassword
- Specified by:
setPropProtocolIdcsKeystoreAliasPasswordin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsKeystoreAliasPassword
public char[] getPropProtocolIdcsKeystoreAliasPassword() -
setPropProtocolIdcsTrustManagerFile
- Specified by:
setPropProtocolIdcsTrustManagerFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsTrustManagerFile
- Specified by:
getPropProtocolIdcsTrustManagerFilein interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropProtocolIdcsTrustManagerPassword
- Specified by:
setPropProtocolIdcsTrustManagerPasswordin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropProtocolIdcsTrustManagerPassword
public char[] getPropProtocolIdcsTrustManagerPassword() -
setPropSessionPoolSupport
- Specified by:
setPropSessionPoolSupportin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropSessionPoolSupport
- Specified by:
getPropSessionPoolSupportin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setPropSessionPoolAnonymousFallback
- Specified by:
setPropSessionPoolAnonymousFallbackin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropSessionPoolAnonymousFallback
Description copied from class:RidcConnectionGets the session pool anonymous fallback property.- Specified by:
getPropSessionPoolAnonymousFallbackin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition- Specified by:
getPropSessionPoolAnonymousFallbackin classRidcConnection- Returns:
- whether the credentail provider class should fallback to returning an anonymous IdcContext instance in the event the connected user or appropriate cannot be determined.
-
setPropSessionPoolCredentialProviderClass
public void setPropSessionPoolCredentialProviderClass(String PropSessionPoolCredentialProviderClass) - Specified by:
setPropSessionPoolCredentialProviderClassin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
getPropSessionPoolCredentialProviderClass
- Specified by:
getPropSessionPoolCredentialProviderClassin interfaceoracle.adf.mbean.share.connection.wcc.WccConnectionDefinition
-
setSessionPoolCredentialProviderClass
Sets the The RidcCredentialProvider Class to utilize to generate the initial IdcContext for new RidcSession instances created within the ADF session-scoped Session Pool. This method will only be called should the session pool supported property be set to true.- Parameters:
credProviderClass- RidcCredentialProvider Class
-
getSessionPoolCredentialProviderClass
Gets the RidcCredentialProvider Class to utilize to generate the initial IdcContext for new RidcSession instances created within the ADF session-scoped Session Pool. A return value of null indicates that the connection has not been configured with session pool support property set to true.- Specified by:
getSessionPoolCredentialProviderClassin classRidcConnection- Returns:
- RidcCredentialProvider Class
-