Security Vs MSAD Native
Hello
I would like to hear from the experts about what is the best solution with the security configuration for a new EPM implementation on 11.1.2.2. We have all the products in our environment of DRM, HFM, Essbase, Planning etc. and most of them are also active SSO.
Who is the best configuration of security regarding recovery of user verification information. repositories of the EMP. and also in terms of security and maintenance.
Thanks in advance!
You can have several configured areas or it is perhaps possible to configure with a trusted user who can see in several areas, he had past problems in older versions (I think before 9.3) If users crossed UO, but this has been corrected with the use of the objectguid. Commissioning for planning should really be done through shared Services.
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
Essbase security Migration to native mode for external authentication
Hello!!
I want advice on security setting, all users are currently in usermode native and Aboriginal groups.
Now we want to migrate in external mode, the current version of hyperion is 11.1.1.3, the steps in
that direction would be really useful.
What is the best way of migration of the huge user base of native implementation for external authentication directory,
It is the first step for the time of the native code for the external authentication, if anyone who did this will be useful.
the installation procedure, maxl based migration will be useful or utility based.
Thank youFor services sharerd mode conversion to have a read of - http://download.oracle.com/docs/cd/E12825_01/epm.111/eashelp/sec_mode.htm
To configure shared services to use an external directory have a reading of - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/frameset.htm?ch05.html
For mass provision that you could use LCM or the utility CSSImportExport to export the provisioning of native users, update the file exported to include provisioning of users ad, then import them.
LCM - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_lifecycle_management/launch.htm
CSSImportExport utility - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/ch09s08.htmlSee you soon
John
http://John-Goodwin.blogspot.com/ -
MSAD in OBIEE 11.1.1.7.140715 access
Hi all
I recently patched one of OBIEE 11.1.1.7.140715 environmental OBIEE. Everything went well, I can able to connect without any problems.
In my existing configuration MSAD, I added a few parameters to get the list of users in the ad group, that I couldn't connect to Analytics. I changed the password to the user configured MSAD and in the console EM change the password to BISystemUser and rebooted. After that, I couldn't access analytics with any AD as well as native users.
I'm not able to see users AD including "BisystemUser" of the logic of the Web. Looks like its corrupt. Please suggest me in this situation.
I will delete the existing configuration of MSAD and reconfigure newly, is this will help?
Journal of NQServer:
[2015 06-24 T 21: 16:00.000 - 05:00] [OracleBIServerComponent] [ERROR: 1] [] [] [ecid: 00iTxTLHkaEFc515zv8DyW0001c4000000, 0:13006:6] [tid: 928] oracle.bi.security.service.SecurityServiceException: SecurityService::validateSystemUserCredentialsThe system user could not be authenticated.
[2015 06-24 T 21: 16:00.000 - 05:00] [OracleBIServerComponent] [ERROR: 1] [] [] [ecid: 00iTxTLHkaEFc515zv8DyW0001c4000000, 0:13006:6] [tid: 928] [nQSError: 43126] failed authentication: username/password invalid.
Journal of bi_server1-diagnostic:
Caused by: javax.security.auth.login.FailedLoginException: [Security: 090303] authentication failure: User BISystemUser weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security: 090294] could not get connection
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
to com.bea.common.security.internal.service.LoginModuleWrapper$ 1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged (Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.GeneratedMethodAccessor334.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
to javax.security.auth.login.LoginContext.access$ 000 (LoginContext.java:186)
to javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged (Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
at sun.reflect.GeneratedMethodAccessor336.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:57)
to $Proxy36.login (Unknown Source)
to weblogic.security.service.internal.WLSJAASLoginServiceImpl$ ServiceImpl.login (WLSJAASLoginServiceImpl.java:89)
at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
at sun.reflect.GeneratedMethodAccessor338.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:57)
to $Proxy54.authenticate (Unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)
at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:348)
at weblogic.security.services.Authentication.doLogin(Authentication.java:133)
at weblogic.security.services.Authentication.login(Authentication.java:74)
at weblogic.security.services.Authentication.login(Authentication.java:51)
at oracle.security.jps.wls.jaas.module.authentication.WlsUserAuthenticator.authenticate(WlsUserAuthenticator.java:56)
... 64 more
]]
[2015 06-24 T 21: 24:16.460 - 05:00] [bi_server1] [ERROR] [OWS-04115] [oracle.webservices.service] [tid: [ASSETS].] {[ExecuteThread: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: < anonymous >] [ecid: 0000Ks_82RlFc515zv8DyW1LYcSd000002, 0:40] [APP: OracleRTD #11.1.1] an error for the port: {}http://www.sigmadynamics.com/schema/services/RpcService} RpcPort: oracle.fabric.common.PolicyEnforcementException: FailedAuthentication: the security token cannot be authenticated..
[2015 06-24 T 21: 24:16.460 - 05:00] [bi_server1] [ERROR] [WSM-00279] [oracle.wsm.resources.security] [tid: RTD_Worker_358] [username: < anonymous >] [ecid: 0000Ks_82RlFc515zv8DyW1LYcSd000002, 0] [APP: 11.1.1 # OracleRTD] [WSM_POLICY_NAME: oracle/wss_username_token_client_policy] the following error Message is received on the client side of the service:-[[ ]]
FailedAuthentication: The security token cannot be authenticated.
Client-side policy is: -.
Oracle/wss_username_token_client_policy.
The service url endpoint is: -.
http://xx.XX.78.12:9704/ws/CPP .
Keystore properties: -.
{}.
Properties are in the context of the message (partial list): -.
{javax.xml.ws.security.auth.username = BISystemUser, javax.xml.rpc.security.auth.username is BISystemUser}.
PolicyReference OverrideProperty:
[]
Policy configuration properties (some of them can be replaced by properties in the message context or PolicyReference, about the order of precedence of the properties, see documentation);
{key = basic.credentials - csf = ultimateReceiver role}.
Other related information: -.
{oracle.integration.platform.common.subject = Subject: NULL}
}.
]]
[2015-06 - 24 T 21: 24:16.460 - 05:00] [bi_server1] [ERROR] [] [oracle.webservices.jaxws] [tid: RTD_Worker_358] [username: < anonymous >] [ecid: 0000Ks_82RlFc515zv8DyW1LYcSd000002, 0] [APP: OracleRTD #11.1.1] error when calling endpoint "http://xx.xx.78.12:9704/ws/CPP" of the customer. Client-side policies: [oracle/wss_username_token_client_policy]
Thank you
Hi all
I solved the problem by reconfiguring the directory AD.
Thank you
PC
-
Native Kerberos Kinit for Solaris/Linux OS tools
Hello Experts,
Looking at the next thread, learned that Kerberos (kinit, klist, ktab) tools are not available in the JRE on Linux and Solaris environments...
not found in JRockit R28 kinit https://Community.Oracle.com/thread/2307987?tstart=0
Suite error is thrown on the Solaris operating system. Can someone guide me on the native tools of Kerberos for linux/Solaris OS
/usr/bin/JRockit-JDK1.6.0_37-R28.2.5-4.1.0
bdsh-EP-sp12_:/usr/bin/JRockit-JDK1.6.0_37-R28.2.5-4.1.0
Java $-Dsun.security.krb5.debug = true sun.security.krb5.internal.tools.Kinit wlssp12.keytab [email protected] t k
Exception in thread "main" java.lang.NoClassDefFoundError: Sun/Security/krb5/internal/tools/Kinit
Caused by: java.lang.ClassNotFoundException: sun.security.krb5.internal.tools.Kinit
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The main class is not found: sun.security.krb5.internal.tools.Kinit. Program ends.
bdsh-EP-sp12_:/usr/bin/JRockit-JDK1.6.0_37-R28.2.5-4.1.0
Need help to find the native kinit tool using the package manager...
TIA,
Vijaya
On Solaris you found "kinit" inside the 'kinit/usr/bin/kinit?
https://docs.Oracle.com/CD/E23824_01/HTML/821-1456/User-8.html
and
https://docs.Oracle.com/CD/E23824_01/HTML/821-1461/kinit-1.html#REFMAN1kinit-1
-
During the installation of Application Framework via./install.sh script, then that account activity held an entry for "WebLogic Admin User ID system" we face as "' java.lang.ClassNotFoundException: weblogic.security.Encrypt" emits messages. "
Please, help us to solve this problem as soon as POSSIBLE.
Details of the environment:
Operating system: 64-bit 5U8 OEL.
Follow-up document:
PSRM - sector Public Revenue Management Oracle Installation Documentation (Doc ID 2067339.1)-PSRM_Installation_Guide_v2_4_0_0_0
Error message:
Enter the value to be encrypted: 160122:164014 < criteria > error occurred running /usr/java/jdk1.6.0_45/bin/java-Dweblogic.RootDirectory=/ebiz/app/ouaf/Release-FW-
V4.2.0.0.0/FW. V4.2.0.0.0/data/product/WLS.splapp weblogic.security.Encrypt:
Output is Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/encryption
Caused by: java.lang.ClassNotFoundException: weblogic.security.Encrypt
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
The main class is not found: weblogic.security.Encrypt. Program ends.
End of output
The program finished in line 118 of the data/bin/perllib/SPL/splLog.pm.
Error: install.plx has not completed successfully. On the way out.
From now on, we have completed the slot status of activities for your reference.
Sl.No
Name of the activity
Status
1
Create users and groups
Completed
2
Install prerequisite software
Completed
3
Oracle 11.2.0.3 database
Completed
4
Java 6
Completed
5
Oracle WebLogic 10.3.6
Completed
6
Hibernation 4.1.0
Completed
7
Micro Focus Server 5.1 WrapPack 8
Completed
8
Install Oracle Utilities application.
Here issue facing 9
Install Oracle Utilities Application Framework Service Pack 1.
Pending
10
Install Oracle Public Revenue Management sector
Pending
11
Deploy Oracle sector Public Revenue Management application
Pending
Concerning
Knani G
Hello
During the installation, we have wrongly given Home Directory Web Application Server like/Ebiz/app/woof/Middleware
So we changed the Homepage Directory Web Application Server as /ebiz/app/ouaf/Middleware/wlserver_10.3
then the problem is resolved.
Thanks for the support.
Concerning
Villi Kumar
-
Hi guys.
I have been working on this now for a few days and still not got that right. I'm trying to implement JAAS custom authentication provider.
To do this, I created a jar file and place it under WebLogic\wlserver\server\lib\mbeantypes\. Provider shows everything by creating the new Kingdom, so that's good.
I created the new Kingdom (webRealm) and changed web.xml to get the inside webRealm:
<>login-config
FORM < auth-method > < / auth-method >
< domain name > webRealm < / realm-name >
< form-login-config >
Login.jsp < form-login-page > < / form-login-page >
LoginError.jsp < form-error-page > < / form-error-page >
< / form-login-config >
< / login-config >
webRealm default security model: is DDOnly.
Here is the configuration of domain:
< domain >
" < sec: authentication - provider xmlns:sam = ' http://www.BEA.com/ns/90/WebLogic/security/samples "xsi: type =" sam:db - user-authenticatorType "> ".
< sec: name > serenadeAuth < / sec: name >
< sec: control - flag > REQUIRED < / sec: control - flag >
< / sec: authentication - provider >
" < sec: role - Mapper = xmlns:xac ' http://xmlns.Oracle.com/WebLogic/security/XACML "xsi: type =" xac:xacml - role-mapperType "> ".
< sec: name > XACMLRoleMapper < / sec: name >
< sec: role - deployment-enabled > true < / sec: role - deployment-enabled >
< / sec: role - Mapper >
" < sec: authorizer = xmlns:xac ' http://xmlns.Oracle.com/WebLogic/security/XACML "xsi: type =" xac:xacml - authorizerType "> ".
< sec: name > XACMLAuthorizer < / sec: name >
< sec: policy - deployment-enabled > true < / sec: policy - deployment-enabled >
< / sec: authorizer >
< sec: adjudicator xsi: type = "wls:default - adjudicatorType" >
< sec: name > DefaultAdjudicator < / sec: name >
< / sec: adjudicator >
< sec: credential - Mapper xsi: type = "wls:default - credential-mapperType" >
< sec: name > DefaultCredentialMapper < / sec: name >
< sec: credential - mapping-deployment-enabled > true < / sec: credential - mapping-deployment-enabled >
< / sec: credential - Mapper >
< sec: cert - path-provider xsi: type = "wls:web - logic-cert-path-providerType" >
< sec: name > WebLogicCertPathProvider < / sec: name >
< / sec: cert - path-supplier >
< sec: cert - road-builder > WebLogicCertPathProvider < / sec: cert - road-builder >
< dry: use-locking-manager >
< sec: lockout - active > false < / sec: lockout - active >
< / dry: use-locking-manager >
< s: deploy-role-ignored > false < / sec: deploy-role-ignored >
< s: deploy-strategy-ignored > false < / sec: deploy-strategy-ignored >
< s: deploy-credential-mapping-ignored > false < / sec: deploy-credential-mapping-ignored >
< s: entirely delegate-permission-> true < / dry: completely delegate-permission->
< sec: security - dd-model > DDOnly < / sec: security - dd-model >
< s: handset-role-mapping-activated > false < / sec: handset-role-mapping-enabled >
< sec: name > serenadeRealm < / sec: name >
< sec: delegate - m-bean-authorization > false < / sec: delegate - m-bean-authorization >
< s: deployable-provider-synchronization-enabled > false < / sec: deployable-provider synchronization-compatible >
< sec:auto-restart-on-non-dynamic-changes > true < /sec:auto-restart-on-non-dynamic-changes >
< s: retirement-timeout-seconds > 60 < / sec: retirement-timeout-seconds >
< / domain >
Please note that by default realm is myrealm.
When I try to login, I get following exception:
< 30 November 2015 14:25:49 EST > < Debug > < SecurityAtn > < EKAMOLID-US > < myserver > < ExecuteThread [ASSETS]: '7' for the queue: "(self-adjusting) weblogic.kernel.Default" > < < WLS Kernel > > < 64905dec-c109-4df8-8f2a-7dd696508bc9-0000002f > <>< 1448911549362 > < [gravity-value: 128] [RID: 0] [partition id: 0] [name of the partition: DOMAIN] > < BEA-000000 > < javax.security.auth.login.FailedLoginException : [Security: 090302] authentication failure: specified by the user the user refused
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:343)
to com.bea.common.security.internal.service.LoginModuleWrapper$ 1.run(LoginModuleWrapper.java:117)
at java.security.AccessController.doPrivileged (Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:114)
at sun.reflect.GeneratedMethodAccessor1698.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
to javax.security.auth.login.LoginContext.access$ 000 (LoginContext.java:195)
to javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:682)
to javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:680)
at java.security.AccessController.doPrivileged (Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
at sun.reflect.GeneratedMethodAccessor1696.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:64)
to com.sun.proxy. $Proxy48.login (unknown Source)
to weblogic.security.service.internal.WLSJAASLoginServiceImpl$ ServiceImpl.login (WLSJAASLoginServiceImpl.java:92)
at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:83)
at sun.reflect.GeneratedMethodAccessor1700.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:64)
to com.sun.proxy. $Proxy67.authenticate (unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)
at weblogic.security.service.PrincipalAuthenticatorImpl.authenticate(PrincipalAuthenticatorImpl.java:349)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at weblogic.security.service.ServiceHandler.invoke(ServiceHandler.java:55)
to com.sun.proxy. $Proxy77.authenticate (unknown Source)
to weblogic.servlet.security.CSSServletSecurityServices$ CSSApplicationServices.authenticate (CSSServletSecurityServices.java:318)
at weblogic.servlet.security.internal.AbstractAppSecurity.authenticateAndSaveCredential(AbstractAppSecurity.java:63)
at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:313)
at weblogic.servlet.security.internal.SecurityModule.checkAuthenticate(SecurityModule.java:260)
at weblogic.servlet.security.internal.FormSecurityModule.processJSecurityCheck(FormSecurityModule.java:261)
at weblogic.servlet.security.internal.FormSecurityModule.checkUserPerm(FormSecurityModule.java:198)
at weblogic.servlet.security.internal.FormSecurityModule.checkAccess(FormSecurityModule.java:96)
at weblogic.servlet.security.internal.SecurityModule.isAuthorized(SecurityModule.java:712)
at weblogic.servlet.security.internal.WebAppSecurity.checkAccess(WebAppSecurity.java:576)
at weblogic.servlet.security.internal.WebAppSecurity.checkAccess(WebAppSecurity.java:536)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2369)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:270)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
>
The problem is why the system tries to use LDAPAtnLoginModuleImpl when webRealm it does not use for the supplier?
My client provider is not called at all, I know that because I put System.out.print () messages in there to see if it goes off.
No idea why weblogic does not use my custom (webRealm) area?
Thank you.
webRealm configuration in the web.xml file has no effect on the authentication process with WLS.You can create your authentication provider in the default domain itself.
Make sure that your custom authentication works.
Also change the default authenticator control indicator and your authenticator personalized sufficient / option so that even wls default users can connect to the console of wls.
You can see my article for more details on the custom authenticator.
Hope you found my answer helpful.
Thank you
Faisal
-
WebCenter Portal 11.1.1.9.2 has been installed on a single node and configured using external policy based JPS Sotre 11.1.1.7 OID LDAP and Oracle Access Manager 11.1.2.2.0 for Single Sign-On.
For WebCenter Portal managed starting the server (and all the other managed servers, Portlet, Collaboration, utilities, etc.) the following error message is recorded in the log files:
<Oct 26, 2015 10:35:32 AM COT> <Warning> <oracle.jps.idmgmt> <JPS-01520> <Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: Failed to connect to directory. Check configuration information..> <Oct 26, 2015 10:35:32 AM COT> <Error> <oracle.adf.mbean.share.connection.ConnectionsHelper> <BEA-000000> <Failed to get credentials for alias ADF and connection name PageletConnection java.lang.RuntimeException: java.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: Failed to connect to directory. Check configuration information.. at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:386) at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:363) at oracle.adf.share.security.providers.jps.JpsUtil.getUserUniqueIdentifier(JpsUtil.java:272) at oracle.adf.share.security.providers.jps.JpsUtil.getUserUniqueIdentifier(JpsUtil.java:233) at oracle.adf.share.security.providers.jps.CSFCredentialStore.getCurrentUserUniqueID(CSFCredentialStore.java:1253) at oracle.adf.share.security.providers.jps.CSFCredentialStore.fetchCredential(CSFCredentialStore.java:489) at oracle.adf.share.security.providers.jps.CSFCredentialStore.fetchCredential(CSFCredentialStore.java:653) at oracle.adf.share.security.credentialstore.CredentialStore.fetchCredential(CredentialStore.java:187) at oracle.adf.mbean.share.connection.ConnectionsHelper.getCredentials(ConnectionsHelper.java:208) at oracle.adf.mbean.share.connection.ReferenceHelper.getCredentials(ReferenceHelper.java:334) at oracle.adf.mbean.share.connection.ReferenceHelper.createReference(ReferenceHelper.java:299) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.registerBean(ConnectionsRuntimeMXBeanImpl.java:499) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.createConnection(ConnectionsRuntimeMXBeanImpl.java:577) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.configObjectReloaded(ConnectionsRuntimeMXBeanImpl.java:778) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.postRegister(ConnectionsRuntimeMXBeanImpl.java:1089) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doPostRegister(OracleStandardEmitterMBean.java:556) at oracle.adf.mbean.share.AdfMBeanInterceptor.internalPostRegister(AdfMBeanInterceptor.java:223) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.security.jps.ee.jmx.JpsJmxInterceptor$4.run(JpsJmxInterceptor.java:605) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464) at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPostRegister(JpsJmxInterceptor.java:622) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPostRegister(ContextClassLoaderMBeanInterceptor.java:167) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.postRegister(OracleStandardEmitterMBean.java:521) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegister(DefaultMBeanServerInterceptor.java:1024) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462) at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60) at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:111) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1871) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3173) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: java.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store, cause: oracle.security.idm.ConfigurationException: Failed to connect to directory. Check configuration information.. at java.security.AccessController.doPrivileged(Native Method) at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:381) at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:363) at oracle.adf.share.security.providers.jps.JpsUtil.getUserUniqueIdentifier(JpsUtil.java:272) at oracle.adf.share.security.providers.jps.JpsUtil.getUserUniqueIdentifier(JpsUtil.java:233) at oracle.adf.share.security.providers.jps.CSFCredentialStore.getCurrentUserUniqueID(CSFCredentialStore.java:1253) at oracle.adf.share.security.providers.jps.CSFCredentialStore.fetchCredential(CSFCredentialStore.java:489) at oracle.adf.share.security.providers.jps.CSFCredentialStore.fetchCredential(CSFCredentialStore.java:653) at oracle.adf.share.security.credentialstore.CredentialStore.fetchCredential(CredentialStore.java:187) at oracle.adf.mbean.share.connection.ConnectionsHelper.getCredentials(ConnectionsHelper.java:208) at oracle.adf.mbean.share.connection.ReferenceHelper.getCredentials(ReferenceHelper.java:334) at oracle.adf.mbean.share.connection.ReferenceHelper.createReference(ReferenceHelper.java:299) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.registerBean(ConnectionsRuntimeMXBeanImpl.java:499) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.createConnection(ConnectionsRuntimeMXBeanImpl.java:577) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.configObjectReloaded(ConnectionsRuntimeMXBeanImpl.java:778) at oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl.postRegister(ConnectionsRuntimeMXBeanImpl.java:1089) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doPostRegister(OracleStandardEmitterMBean.java:556) at oracle.adf.mbean.share.AdfMBeanInterceptor.internalPostRegister(AdfMBeanInterceptor.java:223) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.security.jps.ee.jmx.JpsJmxInterceptor$4.run(JpsJmxInterceptor.java:605) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464) at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPostRegister(JpsJmxInterceptor.java:622) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPostRegister(ContextClassLoaderMBeanInterceptor.java:167) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPostRegister(DefaultMBeanInterceptor.java:87) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPostRegister(AbstractMBeanInterceptor.java:204) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.postRegister(OracleStandardEmitterMBean.java:521) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.postRegister(DefaultMBeanServerInterceptor.java:1024) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:974) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462) at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60) at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:111) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1871) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3173) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
OID contains all users belonging to a group and can be viewed correctly using DOHAD.
Users cannot connect to the portal WebCenter or any other application of the field gets initialized because JPS store does not.
However, the JPS store gets initialized for the administration server, users and group membership can be toured from the areas of security-> users and groups to the weblogic console window.
A few days ago the users connected to the webcenter content was not asigned no role.
WebCenter star in the field of content very well, Admin Server and store of JPS is initialized correctly, users and members of the group can be seen in areas of security-> users and groups to the weblogic console window.
This error started to appear a few days before, before that, everything was normal, and users could connect to the webcenter portal group for membership and get the OID and the privileges of JPS LDAP store.
Servers werer started first, using Nodemanager script to start the server administration, and after that the administrator of the booted server, console weblogic was used to start managed servers.
Is there a way to debug the JPS Store initialization?
Hello Amey
The indicator for OAM ID Asserter is required for single sign on functionality, whatever it is, the problem, seems to be communication with the DNS server, which makes a delay that could be verified using traceroute and ping commands.
This delay caused the connection failure to the OID server during initialization of JPS.
As a solution, thefully qualified hostname to OID server has been configured manually to the file/etc/hosts. After this change, JPS can be initialized correctly.
Howerver, that the log shows no time-out or any other exception during the initialziation, making diagnosis difficult to obtain.
Thanks for your help.
-
Custom security provider exception
Good day, colleagues. I want to raise an old topic.
I use custom security provider exceptions:
-AccountExpiredException
-AccountLockedException
However, the login()) method captures only FailedLoginException
Try
{
CallbackHandler pwcall = new weblogic.security.URLCallbackHandler (user, pass.getBytes("UTF-8"));
subject = weblogic.security.services.Authentication.login (pwcall);
weblogic.servlet.security.ServletAuthentication.runAs (object, request);
}
catch (javax.security.auth.login.LoginException e) { }
e.printStackTrace ();
}
javax.security.auth.login.FailedLoginException: [Security: 090304] authentication failed: User...
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:240)
to com.bea.common.security.internal.service.LoginModuleWrapper$ 1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged (Native Method)
I found similar questions IdentityAssertion custom exception, FailedLoginException asked for many years for WLS 9.2
Their solution (wlp.propogate.login.exception.cause = true) does not work for WLS 10.3.
How to propagate original LoginException?
Or the exception message.
I did it! Look carefully at the source code:
javax.security.auth.login.LoginContext:875
If (moduleStack [i].entry.getControlFlag () == AppConfigurationEntry.LoginModuleControlFlag.REQUISITE) {}
..
If NECESSARY, then immediately throw an exception
If (methodName.equals (ABORT_METHOD): methodName.equals (LOGOUT_METHOD)) {}
If (firstRequiredError is nothing)
firstRequiredError =;
} else {}
throwException (firstRequiredError, the);
}
} ElseIf (moduleStack [i].entry.getControlFlag () == AppConfigurationEntry.LoginModuleControlFlag.REQUIRED) {}
..
mark only one MANDATORY module is not
If (firstRequiredError is nothing)
firstRequiredError =;
} else {}
..
mark down that one OPTIONAL module failed
If (firstError is nothing)
firstError =;
}
javax.security.auth.login.LoginContext:922
We went through all the LoginModules.
If (firstRequiredError! = null) {}
a MANDATORY module failed - returns the error
throwException (firstRequiredError, null);
} Else if (success == false & firstError! = null) {}
No module managed - returns the first error
throwException (firstError, null);
} else...
I put the flag of control: OPTION to DefaultAuth (is REQUIRED)
and order after my LoginModule. (reboot required)!
Now, I get my % of exceptions)
-
Setting up security for Mobile Applications of ADF
HelloI tried to configure security for a native application of the ADF Mobile.
Security in the ADF Mobile native application is configured using the files below-
adfmf-application.xml
adfmf-feature.xml
I selected "remote" option under 'Security tab' for a feature. I have also assigned a role under the 'Constraint' tab for the same feature.
"Now in the.
adfmf-application.xml' file, under the 'security' tab I have defined a connection to my OID( Oracle Internet directory) instance by providing the Login, Logout URLs and provided 'JSESSIONID' as the value for Cookies option. I tested the connection and it shows connection successful.
Now, on the authorization tab, I provide the URL "access control", but I couldn't find any "URL access control" for the OID (Oracle Internet directory).
Can someone let me know where to find the URL "access control" for OID or how to form the same?
or
How can I authenticate remotely for the ADF Mobile with OID login process?
Thank you.
Hello
If you read the documentation, then he said:
you create an access control for the ADF Mobile application by entering the following in the dialog box create a connection Login ADF Mobile, shown in Figure 14-4 (and described in Section 18.4.2, 'how to designate the Login Page'):
- The URL of the REST Web service that transmits a list of user roles and privileges.
- A list of user roles checked by the functionality of the application.
- List of privileges.
Definition of constraints on the functionality of the Application - 11g Release 2 (11.1.2.4.0)
So the answer to your question is: create a custom REST service that queries the roles of your instance OID. There is no automatic for this as OID does not expose its services as REST
Now read this: ADF Mobile Application Security - 11 g Release 2 (11.1.2.4.0)
Frank
-
Security of ADF, added then I get error of insufficient privileges during validation.
I was using a database user, then I have no error. After the addition of security of the ADF and the weblogic user, I got the following error message. Please suggest me, how to solve this error.
< MethodExpressionActionListener > < processAction > received 'javax.faces.event.AbortProcessingException' when calling listener action "#{bindings.Commit.execute}" to the component 'cb4 '.
< MethodExpressionActionListener > < processAction > javax.faces.event.AbortProcessingException: ADFv: interrupt exception.
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< Utils > < buildFacesMessage > ADF: addition of the JSF error message: ORA-01031: insufficient privileges
java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6745)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< Utils > < buildFacesMessage > ADF: addition of the JSF error message: ORA-01031: insufficient privileges
java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6745)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:973)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
All communications of the db is made via the connection db defined in your application. Here, you set the user who speaks of the db. If this user has the power to hire you should be able to commit. You can use security adf to grant the insert, update, and delete on EO in your application to roles that belongs to the user of your application. I you have not done so each user of the application should be able to commit.
Timo
-
Hello
Berfore my ADF Application security configuration works well. But after security configuration, I am getting the below error. Can someone help me to solve the issue. Here is the stack trace. BTW, the JDev I use is version 11.1.2.3.0.
java.lang.NoClassDefFoundError: has not been initialized class com.bea.security.quark.ASIParserProxy
at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:556)
at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2876)
to oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$ 5.run(JpsAbsSubjectResolver.java:497)
to oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$ 5.run(JpsAbsSubjectResolver.java:487)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:487)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:334)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAnonymousSubject(JpsAbsSubjectResolver.java:319)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:258)
at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:214)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Thank you / Vinet.Hello
Finally the problem is resolved. Actual cause is, there is a space in the name of the folder in which the jdev is installed. I installed the jdev in a different directory (no spaces in the directory name) and has defined the variable env JDEV_USER_HOME and everything worked fine.
It is an odd question. Sorry for the confusion.
I thank all of you for your time.
Best regards
VINET. -
Columns of history in the custom security settings
Hello
JDeveloper 11.1.2.2.0
JHeadstart 11.1.2.1.28
Authentication type = custom
Permission type = custom
I changed the base class of the module of the application in my template (oracle.jheadstart.model.adfbc.v2.JhsApplicationModuleImpl) project
and I add, applicationmoduleImpl.java this change
protected void prepareSession(Session session) {}
{
ApplicationModule am is getDBTransaction () .getRootApplicationModule ();.
JhsApplicationModule jhsAm = (JhsApplicationModule) am;
Object user = jhsAm.getUser ();
UserContext JhsUserContext = user (JhsUserContext);
session.getEnvironment () .put (PropertyMetadata.USER_PRINCIPAL.getName (), userContext.getDisplayName ());
}
super.prepareSession (session);
}
but when I run the ViewController and I want to connect...
.
.
.
.
Error 500 - Internal server error
javax.faces.el.EvaluationException: //C:/Users/user01/AppData/Roaming/JDeveloper/system11.1.2.2.39.61.83.1/o.j2ee/drs/sp11/ViewControllerWebApp.war/security/pages/Login.jsf @21,88 action = "#{LoginBean.authenticateUser}": oracle.jbo.common.ampool.ApplicationPoolException: Houston-30003: Application pool sp11.model.apm.clubLocal is unable to retrieve an application module because of the following exception: "
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:970)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:351)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.jheadstart.controller.jsf.AuthenticationFilter.doFilter(AuthenticationFilter.java:289)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.jbo.common.ampool.ApplicationPoolException: Houston-30003: Application pool sp11.model.apm.clubLocal is unable to retrieve an application module because of the following exception:
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2556)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1503)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1603)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:557)
at oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider.getDataControl(JhsModelServiceProvider.java:51)
at oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider.getJhsModelService(JhsModelServiceProvider.java:100)
at oracle.jheadstart.controller.jsf.bean.LoginBean.doCustomAuthentication(LoginBean.java:138)
at oracle.jheadstart.controller.jsf.bean.LoginBean.authenticateUser(LoginBean.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... more than 54
Caused by: java.lang.NullPointerException
at sp11.model.apm.clubImpl.prepareSession(clubImpl.java:35)
at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6898)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:174)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
... 88 more
Please help me
What is the problem
He worked in another project, but in this one does not work?
Thank youRun in debug mode and set a breakpoint in JhsModelServiceImpl.createUserContext, then you can see what is happening.
What could happen is that the first time in prepareSession that the context of the user is not yet defined, because it must first query the table of JHS security to check the connection.So, when you call jhsAm.getUser () you need to check if that returns an object.
Steven Davelaar,
Jheadstart team. -
DAC11g oracle, security, jps, jpsException
Hello
I installed OBIEE11116 (LINUX 32 bit), informatica 9.1.0 - server (Linux) customer (windows7), customer DAC11g (windows7)
OBIApps7.9.6.4 (windows7) - all work correctly
When starting Server DAC11g on 32-bit linux platform, iam getting the following error.
any help highly appreciated
Cannot run serversetupprompt and startserver - strucket with that of the last 4 days
[obidac@oracle dac] $. ./standaloneServerSetupPrompt.sh
Detected OS: Linux
Exception in thread "main" java.lang.NoClassDefFoundError: oracle, security, jps, JpsException
at com.siebel.etl.gui.login.TextModeServerSetup.main (TextModeServerSetup.java:459)
Caused by: java.lang.ClassNotFoundException: oracle.security.jps.JpsException
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 1 more
[obidac@oracle dac] $./startserver.sh
Detected OS: Linux
Exception in thread "main" java.lang.NoClassDefFoundError: oracle, security, jps, JpsException
at com.siebel.etl.net.QServer.main(QServer.java:498)
Caused by: java.lang.ClassNotFoundException: oracle.security.jps.JpsException
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 1 moreI had this problem and after setting the COMMON_COMPONENTS variable in the config.sh as file
Export COMMON_COMPONENTS_HOME = ${DAC_HOME} / lib/oracle_common
the scripts above was properly executed. -
Hi all
I installed Weblogic server in Redhat Linux and when I try to run start Weblogic service, I get the following error
from weblogic with the Java version:
Java version "1.6.0_33".
Java (TM) SE Runtime Environment (build 1.6.0_33 - b04)
Java for 64-bit Server VM (build 20, 8 - b03, mixed mode)
WLS starting with line:
/usr/java/JDK1.6.0_33/bin/Java-client-Xms256m-Xmx512m - XX : CompileThreshold = 8000 - XX : PermSize = 128m - XX : MaxPermSize = 256m-Dweblogic.Name=AdminServer-Djava.security.policy=/u01/app/oracle/product/Middleware/wlserver_10.3/server/lib/weblogic.policy - Xverify : none-ea:com.bea.wcp... - da-Dplatform.home=/u01/app/oracle/product/Middleware/wlserver_10.3-Dwls.home=/u01/app/oracle/product/Middleware/wlserver_10.3/server-Dweblogic.home=/u01/app/oracle/product/Middleware/wlserver_10.3/server-Dweblogic.management.discover=true-Dwlw.iterativeDev=-Dwlw.testConsole=-Dwlw.logErrorsToConsole=-Dweblogic.ext.dirs=/home/sanco-lux-dev2/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/ SANCO-lux-dev2/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath WebLogic. Server
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/security/SecurityLogger
at weblogic.security.utils.SecurityUtils.turnOffCryptoJDefaultJCEVerification(SecurityUtils.java:81)
in weblogic. Server.main (Server.Java:67)
Caused by: java.lang.ClassNotFoundException: weblogic.security.SecurityLogger
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 2 more
Any ideas?
Thank you in advanceHello
Below of jar files were missing in the server installation directory: / / Oracle / / Middleware / / modules
(1) general Logger associated:
com.bea.Core.Logging.ja_1.6.0.0.jar and com.bea.core.logging_1.6.0.0.jar
(2) and the other set of recorder security related jar files:
com.bea.Core.WebLogic.Security.Logger.ja_1.3.0.0.jar
com.bea.Core.WebLogic.Security.logger_1.3.0.0.jarDownload the other environment files and place them under: //Oracle / / Middleware / / modules
or
In this case, the jar files have been corrupted.
-rwxrwx - 1 oracle install 1 Feb 17 21:01 com.bea.core.weblogic.security.logger_1.5.0.0.jar
-rwxrwx - 1 oracle install 1 Feb 17 21:01 com.bea.core.weblogic.security.logger.ja_1.5.0.0.jarThe files of two jar containing the security logging class that is a failure are just 1 byte in size. On a Weblogic 10.3 installation, they are 174811 and 66766 bytes respectively.
In this case, the corrupt jar files can be copied to another system.
In general, it is recommended that a relocation is carried out.
Kind regards
Kal -
javax.security.auth.login.LoginException
Hello
I'm building a custom Client of IOM, I run the Web application in WL 10.3.3, while calling oracle.iam.platform.OIMClient.login (OIMUserName, OIMPassword), I get the error message. I put the following properties:
System.setProperty ("XL. HomeDir", ' src/conf');
System.setProperty ("java.security.policy", "src/conf/xl.policy");
System.setProperty ("java.security.auth.login.config", "src/conf/authwl.conf");
Even tried to set the following things in the "startWebLogic.cmd":
-Djava.Security.Policy=%WL_HOME%\server\lib\xl. Policy
-Djava.Security.auth.login.config=%WL_HOME%\server\lib\authwl.conf
Always get the following error:
javax.security.auth.login.LoginException: java.rmi.UnmarshalException: not to disrupt the class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.lang.ClassNotFoundException: unable to load class com.netegrity.siteminder.weblogic.sspi.auth.SmWLSUser
at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
to javax.security.auth.login.LoginContext.access$ 000 (LoginContext.java:186)
to javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged (Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login (weblogicLoginHandler.java:61)
at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
at oracle.iam.platform.OIMClient.login(OIMClient.java:114)
at com.seagate.oim.client.MobileOIMClient.loginToOIM(MobileOIMClient.java:62)
at jsp_servlet.__requestlist._jspService(__requestlist.java:124)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess(ContentBufferingFilter.java:169)
at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter(ContentBufferingFilter.java:126)
at org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(ConfigurableSiteMeshFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3684)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.ejb.EJBAccessException: [EJB:010160] security breach: user: '< anonymous >' a insufficient to access the EJB authorization: type = < ejb >, application is IOM #11.1.1.3.0 = iam - ejb.jar = UserManager ejb module, method is getDetailsx, methodInterface = Remote, signature is {java.util.Set, java.lang.String, java.lang.Object, java.lang.String}.
at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:581)
at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:112)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:275)
at weblogic.ejb.container.internal.StatelessRemoteObject.__WL_preInvoke(StatelessRemoteObject.java:41)
at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.getDetailsx(UserManager_nimav7_UserManagerRemoteImpl.java:2469)
at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke (unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Please post any possible solution. Thanks in advance.
-
Arjun ChoudhuryUnable to load class com.netegrity. * siteminder *.weblogic.sspi.auth.SmWLSUser
You must put Siteminders jars in your CLASSPATH.
Maybe you are looking for
-
The subject says it all: how we copy all the headers so that if we want to prevent a company or other entity, say, on a phishing attempt, the headers can be included. I looked in the statutes of the help, the forum, using the keyword 'copy the header
-
I just bought a HP Jet 7 and plugged the usb charger. Apart from an original pictogram on the screen there is no way of knowing if his load and I can not get no sense from Microsoft or HP. My other Tablet has a led that lights up in red when charging
-
whereas the folder dllcache in windows 7 64 bit?
I have just switched to Windows 7 64-bit and need to display the dllcache folder, but can't find it in the system32 folder, where it has been generally found. Can someone tell me where it is kept now please. Thank you. lambrettaday.
-
Source: User profile Service event ID: 1530 level: WARNING
Hello. I use a Windows 7 Home Premium OS, when I was checking on my event viewer I've found a warning that says: Windows detected your registry file is still in use for other applications or services. The file will be unloaded now. Applications or se
-
Enroll in capture integrated into GoldenGate 12 c
Save snippet < process name > databaseRegister in capture integrated into GoldenGate 12 c.conduct of retail in the registry?Thank youT N