ADF security with identification details & role of database table

Dear experts,

I have developed web applications by ADF with JDeveloper 12.1.3.0.0

I want to apply the ADF security for authentication and authorization process.

I mentioned several blogs that associated with example ADF security with the database table, but unfortunately I couldn't reach my task of them because all the blogs that make reference to the roles of username, passwords, and user to hardcode.

In my web application, there are 3 database table (users, roles, User_Role).

A user can have one or more roles.

I was able to accomplish this task using spring-mvc + Hibernate + sprig security. Its code of even below.

<>Authentication Manager

<>authentication provider

< jdbc-user-service data-source-ref = "dataSource".

users by name of user-query =

"username, password, enabled users to select where username =?"

authorities-by-name of user-query =

"" Select username, role of user_roles where username =? ". / >

< / authentication provider >

< / authentication manager >

Pls guide me to solve this problem.

Thank you

Mauricette

User, your question is not clear. You have implemented the safety with the spring? So, what's your question?

The ADF security can be combined with a sql authentificator that reads users and roles of the DB tables. See Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider and anything on the Fusion Middleware: Tables of database user to implement authentication in ADF and http://soadev.blogspot.de/2010/04/sqlauthenticator-simply-best.html.

All of these solutions do not use users coded hard and rolls.

Timo

Tags: Java

Similar Questions

  • ADF security with authentication through DB tables

    I use JDeveloper 11.1.1.2.0.

    I have an application that uses the Security (authentication and authirazation) ADF against the WL embedded ldap. I tried to change the authentication of ldap incorporated into the DB tables. I followed the guide on this blog http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html. The ticket was for JDeveloper 11.1.1.1.0 but since there was some little tweeks in the IDE for the safety of the ADF. What I am having a problem with is when I set up the ADF Security Wizard does not all options on the identity store in version 11.1.1.2.0 Jdev. According to the blog, I'm supposed to choose LDAP and not the jazn.com.

    I have configured the WL server according to the blog, and I see my DB-table of users in the myrealm. The provider (in the WL) SQLAuthentication is defined to sufficient and even with the default provider. I tried to use the jazn.com in my application, but it will not authenticate my users db-paintings, only users in the built-in ldap. I have sought detailed information about the configuration of the storage of identity in my application, but have not so far found that whatever it is detailed.

    Someone has tried this in 11.1.1.2.0, any help is appreciated.

    Best regards
    Sturla Thor

    Hello

    Do not select LDAP (and it's not there anymore). Just select the form-based authentication and (which would also generate login and default error pages). Once after that, run the secure page that would be re - direct you to the login page, where you can enter the Unies/PW Nations which is present in the comic book (that you configured by using SQLAuthenticator).

    Arun-

  • ADF security with SQL authentication

    Hello

    I'm new in the adf and weblogic. I use weblogic built-in jdev 12 c 12.1.2.

    I set up the security in my weblogic using this blog.

    http://adfgouravtkiet.blogspot.com/2012/07/Configuring-ADF-security-using-database.html

    It is configured successfully. But after you configure when I restart my weblogic server, it will fail to start. This is stack strace.

    < 16 April 2014 17:46:33 hours CEST > < error > < security > < BEA-090870 > < the domain 'myrealm' could not be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException.

    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException

    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)

    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1812)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:447)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:845)

    Truncated. check the log file full stacktrace

    Caused by: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException

    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)

    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)

    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)

    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)

    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.NullPointerException

    at weblogic.security.providers.authentication.shared.DBMSUtils.verifyHashAlgorithmUsable(DBMSUtils.java:43)

    at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.validateConfiguration(DBMSSQLAuthenticatorDelegateImpl.java:167)

    to weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl. < init > (DBMSSQLAuthenticatorDelegateImpl.java:77)

    at weblogic.security.providers.authentication.DBMSAuthenticatorDelegateImpl.getInstance(DBMSAuthenticatorDelegateImpl.java:459)

    at weblogic.security.providers.authentication.DBMSSQLAuthenticationProviderImpl.initialize(DBMSSQLAuthenticationProviderImpl.java:55)

    Truncated. check the log file full stacktrace

    >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < security > < BEA-090082 > < security initialization using security realm myrealm. >

    < 16 April 2014 17:46:33 hours CEST > < critical > < WebLogicServer > < BEA-000362 > < server failed. Reason:

    There are 1 nested errors:

    weblogic.security.service.SecurityServiceRuntimeException: security services [Security: 090399] not available

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:921)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1058)

    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)

    at weblogic.security.SecurityService.start(SecurityService.java:148)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < WebLogicServer > < BEA-000365 > < Server state changed to FAILED. >

    < 16 April 2014 17:46:33 hours CEST > < error > < WebLogicServer > < BEA-000383 > < is not an essential service. The server shuts itself down. >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to FORCE_SHUTTING_DOWN. >

    Stopping Server Derby...

    Derby server stopped.

    Process is complete.

    [End of IntegratedWebLogicServer.]

    SQL authentication is configured using a data source. If I change the name of blind in weblogic in the config.xml file data source, he throws exception but able to start the server. can any body help to what he's trying to find the data source before inilizing it. Here is my file config.xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    "" "< domain xmlns ="http://xmlns.oracle.com/weblogic/domain"xmlns:sec ="http://xmlns.oracle.com/weblogic/security"xmlns:wls ="http://xmlns.oracle.com/weblogic/security/wls"" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/oracleas/schema/11/jps/weblogic/providers http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/ WebLogic/1.0/Domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd' > '.

    < name > DefaultDomain < / name >

    field < version > 12.1.2.0.0 < / domain-version >

    > security configuration <

    < name > DefaultDomain < / name >

    < domain >

    < sec: authentication - provider xsi: type = "wls:sql - authenticatorType" >

    db_user < sec: name > < / sec: name >

    < sec: control - flag > SUFFICIENT < / sec: control - flag >

    < wls: data-source-name >workdayDS< / wls: data-source-name >

    < wls:plaintext - passwords-activated > true < / wls:plaintext - passwords-enabled >

    < wls:sql - get-users-Word of past > SELECT PASSWORD FROM WORKDAY_USERS WHERE username =? < / wls:sql - get-users-Word of past >

    < wls:sql - user - exists > SELECT name from USER OF WORKDAY_USERS WHERE username =? < / wls:sql - user - exists >

    < wls:sql - list-members-groups > short_name SELECT OF WORKDAY_user_role_grants g, workday_roles r, workday_users u WHERE g.usr_id = AND g.rle_id = r.id AND u.username u.id =? < / wls:sql - list-members-groups >

    < wls:sql - list-users > SELECT USER FROM WORKDAY_USERS WHERE name LIKE USER name? < / wls:sql - list-users >

    < wls:sql - get-user-description > SELECT DISPLAY_NAME FROM WORKDAY_USERS WHERE username =? < / wls:sql - get-user-description >

    < wls:sql - list-groups > SELECT SHORT_NAME FROM WORKDAY_ROLES WHERE SHORT_NAME AS? < / wls:sql - list-groups >

    < wls:sql - group - exists > SELECT SHORT_NAME WORKDAY_ROLES WHERE SHORT_NAME =? < / wls:sql - group - exists >

    < wls:sql - East-members > SELECT u.username OF WORKDAY_user_role_grants g, WORKDAY_users u WHERE u.id = g.usr_id AND rle_id = (SELECT id FROM WORKDAY_roles WHERE short_name =?) AND usr_id = (SELECT id FROM WORKDAY_users WHERE username =?) < / wls:sql - is-member >

    < wls:sql - get-group-description > SELECT name FROM workday_roles WHERE the short_name =? < / wls:sql - get-group-description >

    < wls:password - algorithm > < / wls:password - algorithm >

    < wls:password - style > PLAINTEXT < / wls:password - style >

    < wls:sql - create-user > INSERT INTO WORKDAY_USERS (USERNAME, PASSWORD, DISPLAY_NAME) VALUES (?,?,?) < / wls:sql - create-user >

    < wls:sql - user-delete > DELETE FROM WORKDAY_USERS WHERE username =? < / wls:sql - remove-user >

    < wls:sql - remove group memberships > DELETE FROM WORKDAY_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) OR usr_id = (SELECT id FROM workday_users WHERE username =?) < / wls:sql - remove group memberships >

    < wls:sql - set-user-description > UPDATE WORKDAY_USERS SET DISPLAY_NAME =? WHERE USERNAME =? < / wls:sql - set-user-description >

    < wls:sql - set-user-word of past > UPDATE WORKDAY_USERS SET PASSWORD =? WHERE USERNAME =? < / wls:sql - set-user-word of past >

    < wls:sql - create group > VALUES INSERT INTO WORKDAY_ROLES (id, short_name, name) (ROLES_SEQ. NEXTVAL,?,?) < / wls:sql - create group >

    < wls:sql - set-group-description > UPDATE workday_roles SET name =? WHERE short_name =? < / wls:sql - set-group-description >

    < wls:sql - Add-Member-to-group > INSERT INTO workday_user_role_grants (id, rle_id, usr_id) VALUES (workday_user_role_grants_seq. NEXTVAL, (SELECT id FROM workday_roles WHERE short_name =?), (SELECT id FROM workday_users WHERE username =?)) < / wls:sql - Add-Member-to-group >

    < wls:sql - remove-member-of-group > DELETE FROM workday_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) AND usr_id = (SELECT id FROM workday_users WHERE username =?) < / wls:sql - remove-member-of-group >

    < wls:sql - group-delete > DELETE FROM WORKDAY_ROLES WHERE short_name =? < / wls:sql - remove group >

    < wls:sql - delete-Group-members > DELETE FROM workday_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) < / wls:sql - remove group member >

    < wls:sql - list-group-members > SELECT username FROM workday_user_role_grants g, workday_roles r, u workday_users WHERE g.usr_id = AND g.rle_id = r.id AND r.short_name u.id =? AND u.username AS? < / wls:sql - list-group-members >

    < / sec: authentication - provider >

    < sec: authentication - provider xsi: type = "wls:default - authenticatorType" >

    < sec: name > DefaultAuthenticator < / sec: name >

    < / sec: authentication - provider >

    "< sec: authentication - provider xmlns:prov ="http://xmlns.oracle.com/oracleas/schema/11/jps/weblogic/providers"xsi: type =" prov:trust - service-identity-asserterType ">"

    Trust Service identity Asserter < sec: name > < / sec: name >

    < / sec: authentication - provider >

    < sec: authentication - provider xsi: type = "wls:default - identity-asserterType" >

    < sec: name > DefaultIdentityAsserter < / sec: name >

    < dry: active-type > AuthenticatedUser < / dry: active-type >

    < / 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 - Mapper >

    "< sec: authorizer xmlns:xac ="http://xmlns.oracle.com/weblogic/security/xacml"xsi: type =" xac:xacml - authorizerType ">"

    < sec: name > XACMLAuthorizer < / sec: name >

    < / 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 - 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 >

    < sec: name > myrealm < / sec: name >

    "< sec: password - validator = xmlns:pas"http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator"xsi: type =" not: System-Password - validatorType ">"

    < sec: name > SystemPasswordValidator < / sec: name >

    < not: min - password - > 8 length < / not: min - password - length >

    < not: min-digital - or - special-characters > 1 < / not: min-digital - or - special characters >

    < / sec: password - validator >

    < / domain >

    < domain >

    < sec: authentication - provider xsi: type = "wls:sql - authenticatorType" >

    db_user < sec: name > < / sec: name >

    < sec: control - flag > OPTIONAL < / sec: control - flag >

    < / sec: authentication - provider >

    < s: deploy-credential-mapping-ignored > true < / sec: deploy-credential-mapping-ignored >

    RDBMS < sec: name > < / sec: name >

    < / domain >

    field < default > myrealm < / default domain >

    < credentials encrypted > {ESA} oiXGiKafJRTHRLy3teTxciHGGJde23frXWjmnQAK2qQIuRYhySgd6oh/ZsnHQK1u99KboPN4Tjo5uS6tg37hufUPCJIdgDAhAOjBEZHVTXFc4YwQmZ6jdCpqlqEjUOkK < / encrypted credential >

    WebLogic < node-Manager-user name > < / node-Manager-user name >

    {ESA} < node-Manager-password - encrypted > dPzCkXm4Z8SaMVCroCwFXEIvbz/FTMroi8W/aDM7blA = < / node-Manager-password encrypted >

    < use-kss-for-demo > true < / use-kss-for-demo >

    < / security configuration >

    < Server >

    < name > DefaultServer < / name >

    < ssl >

    < name > DefaultServer < / name >

    < enabled > true < / enabled >

    < Listening port >

    8102

    < / Listen-port >

    < two - way ssl compatible > true < / two - way compatible ssl >

    < / ssl >

    < Listening port >

    8101

    < / Listen-port >

    > web server <

    < name > DefaultServer < / name >

    < log-server-web >

    < name > DefaultServer < / name >

    < elf fields > date time cs-method ctx-ctx - sc-status cs - uri DIN ecid < / elf fields >

    <-log file format > extended < / format of log file-->

    < / Web-server log >

    < / web server >

    BRP1LAP16 < listen-address > < / listen-address >

    < tunneling-enabled > true < / tunnel-enabled >

    <-diagnosis-server configuration >

    < name > DefaultServer < / name >

    < diagnosis-context-activated > true < / diagnosis-context-enabled >

    < / config-diagnosis-server >

    defaultCoherenceCluster < consistency cluster-system-resource > < / coherence-cluster-system-resources >

    < / Server >

    < incorporated-ldap >

    < name > DefaultDomain < / name >

    < credentials encrypted > {ESA} WRTXOv5WcAtcIZFA7g9azU4v/ogflkbFEN1TAdhhGbU6R7RiiSfLaouE6fgnkjRg < / encrypted credential >

    < / embedded-ldap >

    configuration < version > 12.1.2.0.0 < / configuration-version >

    < app deployment >

    State-management-provider-memory-rar < name > < / name >

    DefaultServer < target > < / target >

    RAR < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/com.Oracle.State-management.State-management-provider-memory-RAR-impl_12.1.2.rar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    DMS Application #11.1.1.1.0 < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.dms_12.1.2/DMS.war < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > wsil-wls #12.1.2.0.0 < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/com.Oracle.WebServices.FMW.WSIL-WLS-impl_12.1.2.ear < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > coherence-transaction-rar < / name >

    DefaultServer < target > < / target >

    RAR < module-type > < / module-type >

    < source path - > C:/Oracle12c/Middleware/Oracle_Home/oracle_common /... /Coherence/lib/Coherence-transaction.rar < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > wsm - h < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.WSM.pm_12.1.2/WSM-pm.ear < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < Library >

    [email protected] oracle.sdp.client # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.SDP.client_12.1.2/sdpclient.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.pwdgen # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.pwdgen_12.1.2/pwdgen.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] owasp.esapi # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.owasp_12.1.2/OWASP-esapi.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.wsm.seedpolicies # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.WSM.common_12.1.2/WSM-seed-policies.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] odl.clickhistory # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.odl_12.1.2/clickhistory.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] odl.clickhistory.webapp # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.odl_12.1.2/clickhistory.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > oracle.jrf.system.filter < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jrf_12.1.2/system-filters.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.jsp.next # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jsp_12.1.2/ojsp.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > oracle.dconfig - infra #[email protected] < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.dConfig-infra_12.1.2.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > orai18n-adf #[email protected] < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.nlsgdk_12.1.2/orai18n-ADF.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.dconfigbeans # < name > < / name >

    DefaultServer < target > < / target >

    jar of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.dconfigbeans_12.1.2.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.domain # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.model_12.1.2/ADF.Oracle.domain.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.businesseditor # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.businesseditor_12.1.2/ADF.businesseditor.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.management # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.management_12.1.2/ADF-management.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.domain.webapp # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.view_12.1.2/ADF.Oracle.domain.webapp.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > jsf #[email protected]< / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jsf_2.1/JSF-RI-21.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > jstl #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:\Oracle12c\Middleware\Oracle_Home\wlserver/common/deployable-libraries/JSTL-1.2.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > UIX #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.uix_12.1.2/uix11.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > ohw - FRC #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.help_5.0/OHW-RCF.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > ohw - uix #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.help_5.0/OHW-UIX.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.desktopintegration.model # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.desktopintegration.model_12.1.2/Oracle.ADF.desktopintegration.model.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.desktopintegration # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.desktopintegration_12.1.2/Oracle.ADF.desktopintegration.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.jbips # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-jbips-SLIB-stub.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.composer # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-composer-SLIB-stub.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.model.slib # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-Model-SLIB.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.view.slib # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-view-SLIB.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.webcenter.slib # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-WebCenter-SLIB.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    <>shutdown-class

    < name > DMSShutdown < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.dms.wls.DMSShutdown < / class name >

    < / stop-class >

    <>start-class

    < name > class start JPS < / name >

    DefaultServer < target > < / target >

    < deployment > 115 order < / order of deployment >

    > class name < oracle.security.jps.wls.JpsWlsStartupClass < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > JPS start after Activation class < / name >

    DefaultServer < target > < / target >

    < deployment-order > 160 < / order of deployment >

    > class name < oracle.security.jps.wls.JpsWlsPostServiceActivationStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > false < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start WSM < / name >

    DefaultServer < target > < / target >

    > class name < oracle.wsm.config.WSMServerStartupShutdownProvider < / class name >

    < / start class >

    <>start-class

    < name > class start JRF < / name >

    DefaultServer < target > < / target >

    < deployment > 110 order < / order of deployment >

    > class name < oracle.jrf.wls.JRFStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > ODL-start < / name >

    DefaultServer < target > < / target >

    < deployment > 145 order < / order of deployment >

    > class name < oracle.core.ojdl.weblogic.ODLConfiguration < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > DMS-start < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.dms.wls.DMSStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start context AWT Application < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.jrf.AppContextStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start of Web Services < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.j2ee.ws.server.WebServiceServerStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    store < file >

    < name > mds-GOSA < / name >

    < Directory > store/gmds < / book >

    DefaultServer < target > < / target >

    < / file-store >

    < name-server-admin > DefaultServer < / name of the server-admin->

    < wldf-system-resources >

    Module FMWDFW < name > < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > diagnostics/Module-FMWDFW - 2818.xml < / file-descriptor-name >

    incident creates FMWDFW < description > from non-controlled Exceptions and critical errors < / description >

    < / wldf-system-resources >

    < jdbc-system-resources >

    < name > LocalSvcTblDataSource < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/LocalSvcTblDataSource - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-data-source < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-datasource - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-audit-viewDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-auditview - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-audit-DBDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-audit - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > mds-GOSA < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/mds-GOSA - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > workdayDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/workdayDS-6554 - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < consistency cluster-system-resource >

    < name > defaultCoherenceCluster < / name >

    < name-file-descriptor > coherence/defaultCoherenceCluster - coherence.xml < / file-descriptor-name >

    < / coherence-cluster-system-resources >

    < / domain >

    Data source that I use it is wordayDS.

    I have deleted my domain name and create new ones yet to configure SQL authentication, and it works fine.

  • [Help needed] Several errors in X 40 with ADF security with or without custom login page

    OTN greetings community, I'm sorry to bother you again, but I need help again once, links to the relevant files (pastebin and imgur) are on the bottom of the post in the meantime ill try to explain my situation.

    I use version 11.1.1.7.0 for JDeveloper with (I assume) updates all of the current side.

    In my efforts to learn more about ADF, I had finished the Apps to build with ADF I guide I produce a 'simple' application to manage contacts, companies and their places of activity.

    With all my functions done and tested semi (small scale) I went ahead and and tried implement security.

    So, with the help of Andrejus Baranovskis Entry of Blog (have been using his blog as a source of information, has contributed to many situations, especially related bean) and fireboxtraining (Part1 and Part2) youtube videos, I have 2 pages, a Login Page (a dispatcher Panel 1 facet has only text showing the user names and passwords connection and the 2nd input text facet 2 related to the bean requesting the user name and Word 3rd password a button that calls the doLogin method) and an error page displays just the text.

    So after you have enabled security, create 2 users, create 2 roles of the company, creating application roles 2 and associating all 2 grants of right one to each role app giving privilege to see on the pages I want, I developed (my goal is that in the homepage, using a mixer according to user's role would display a region that all data can be changed or another that all data is read-only but I don't that have not yet implemented).

    So I went on the test page and unfortunately I hit the 1st wall would not display the login page (seemed to be always be update a blank page in firefox) so I checked if the pages are in the anonymous role and they were. So, as I saw in the video I deleted the page definition files in the Databindings.cpx file and I am past the 1st obstacle has shown the login page. So I typed the username and passwords and I hit my second wall (error 404 - Not found), I saw the code, debugged it and found that he wouldn't be able to hang or something like that (forgive me for my brutal inexperience) then I disabled the security and reactivated with pages of default form, and when it prompted me to type the user name and password I had hit my 3rd and last wall (error 401 - no allowed) which we I didn't wait, I went in the jazn-"Data.xml" and looked if the grants/permissions/roles were ok, in my inexperience, I don't find any problem, so beat I come here to seek support.

    Code:

    MyLoginBean

    MyJazn-"Data.xml"

    MyWeb.xml

    Error logs:
    OnDeployment

    OnLogin

    Screenshots:

    404 full

    401 full

    Sorry for the long post and to put the code in another site (not wanted to put this post more than it already is).

    Thank you very much for your time and your support.

    Hello

    Article http://www.oracle.com/technetwork/issue-archive/2012/12-jan/o12adf-1364748.html

    comes with a sample download, run and explore.

    http://www.Oracle.com/technetwork/issue-archive/2012/12-Jan/o12adf-524995.zip

    It includes all your use cases. So I suggest that start here

    Note that following the code has experienced problems with recent versions of the IDE instead of a side server before we recommend (and will amend accordingly our documentation) to use a redirect on the facesContext--> externalContext instead (I'm typing through while it's not his apparent

    recommended and more)

    ' Private Sub sendForward (HttpServletRequest, HttpServletResponse response, forwardUrl String query) {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    RequestDispatcher dispatcher = request.getRequestDispatcher (forwardUrl);

    try {}

    Dispatcher.Forward (request, response);

    } catch (ServletException to) {}

    reportUnexpectedLoginError ("ServletException", is);

    } catch (IOException ie) {}

    reportUnexpectedLoginError ("IOException", IE);

    }

    ctx.responseComplete ();

    }

    Frank

  • ADF security &amp; 403 on 2nd attempt of connection error

    Hi once again, everything

    I am usinf jdev 12.1.3. I have created a small application with 3 pages, welcome.jspx which contains only 2 links to the other 2 pages, let's call them 'employees' and 'hr', that access tables DB with the same name.

    -J' enabled the ADF security with auto-generated form pages to connect to my request.

    -J' created pageDef for my homepage, because it does not because it has access does'nt all control data.

    -J' have created 2 users and 2 application roles, followed Frank Nimphius Blog (Oracle ADF: security for all), access a lot according to my needs.

    Runetime, I can successfully connect on my first attempt. However, when I do logout and try to connect using a different user (or even the same), I get a 403 error and no trace whatsoever is shown on my weblogic console.

    I tried also to deploy it in a stand alone WLS (12.1.3) with the same result.

    So my problem is that I can connect at once at my request, after that I always 403, I uses to open a session no matter what username.

    To connect with success once again, I need cancel the deployment of the application and deploy it again. Even using different browsers, I get error 403.

    My hypothesis is that there is an error with the "disconnect" action, as it redirects me to the login form, but the session is still alive or something.

    I tried to sign in two different ways:

    -Via the link:

    < af:link text = "Logout" id = "gl1" destination = "#{' / adfAuthentication?}" Logout = true & amp;end_url=/login.html'}"/ >

    -Through the call action logout in session bean (it removes Frank sample application):

    public String logout()) {}

    FacesContext ctx = FacesContext.getCurrentInstance ();

    ExternalContext ectx = ctx.getExternalContext ();

    String logoutUrl = 'faces' + ctx.getViewRoot () .getViewId ();

    ((HttpServletRequest) ectx.getRequest () .getSession () .invalidate ();

    try {}

    ectx. Redirect (logoutUrl);

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    Returns a null value.

    }

    The two ways that I get correctly redirected to the page of connection, but during my second attempt to connect, I get 403.


    Any ideas of what am I doing wrong?


    Thank you very much.



    Marc

    I'm going to auto-answer my own question.

    "In my link to logout, then the call to action to disconnect, I added in my grain of support, I forgot to remove the"destination = "#{' / adfAuthentication? logout = true & end_url = / login.html" "}""part.

    This withdrawal and only calls the logout method in the bean, it works as supposed to.

    Thanks anyway.

  • Running Application Module tester with ADF security

    Hi, I use JDeveloper 11.1.1.6 and recently activated ADF security on my request. Now when I try to run the Application Module Tester by right click on the request form and say run I get the following error. I get the JAAS prompt to enter my credentials, but no matter what I put, I get the following.

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.adf.share.security.ADFSecurityAuthenticationException, msg = EXC_NO_AUTHENTICATION_SERVICE
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    ... 13 more
    # # 0 in detail
    oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    Also, I have tried to disable the security of the ADF and the request module Tester then works fine but I need to run it with security ADF is turned on. Someone knows how to fix this?

    Thank you.

    I understood the question. It seems that I had to remove the library "ADF generic Runtime ' libraries and Classpath of the project of my model parameters. Does anyone know why having this library referenced in your project settings would cause this issue? I also had to delete this reference from the library to a project to generate a web service proxy in the past, it seems to cause a few problems when they are associated with libraries and Classpath for a project or even associated with a library that depends on another library. Can anyone provide any indication regarding the library and why it causes so many problems? You can recreate this issue on demand by adding the library "ADF generic Runtime ' to your template with ADF security project and then activated by running the module of the application by clicking on it and say run.

  • Definition of the roles of database using DBMS_SESSION. Set_Role in ADF

    Hello:

    In Oracle Forms, on login, we use DBMS_Session.set_Role () to define the database roles that grant the user access to the various database tables.

    In Jdev 11.1.2.3, RedHat 5.8, we now perform the same functionality in Applications of Fusion ADF.

    In the ADF, where we put the call to DBMS_SESSION. SET_ROLE()?

    Is there a better way to accomplish this feature?

    Thanks for the help.

    You can override the method prepareSession of the AOS.

    These might help:
    http://www.techartifact.com/blogs/2012/09/preparesession-method-in-ADF.html
    http://DBA-ADF.blogspot.com/2012/07/row-level-security-using-ADF-and.html

  • ADF security integrated with DB user login

    Hello

    It is possible in fact a connection user interface integrated with a DB table to save users?
    Someone at - it a tutorial or something to read about it?

    I think that, with the guarantee of the ADF, only users cannot manage an interface were the user can change its own password or login name...
    I'm just editing XML.

    If I can at least see step 3 (using the LDAP protocol as the identity store) on my assistant as on this link:
    http://Biemond.blogspot.com/2008/12/using-WebLogic-provider-as.html

    Thanks in advance,
    Renan.

    Published by: RenanMC on 10/21/2009 06:42

    Hello

    Using LDAP? If it is clear DB tables, try this

    http://Biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html

    Arun-

  • How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11

    How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11


    determines which users can access the application
    determines what features users are allowed to run after they enter the application

    demonstration of pleas for me step by step.

    Step by step would begin it with 'research forum,' that this issue has been discussed several times already.

  • Page does not, while configuring the ADF security

    Hello world

    I use Jdeveloper 12 c, and my problem is stated as:

    I developed an application in jdeveloper 11g, then I migrated it to 12 c. He was executed successfully on my own laptop. Can I send it to my client, when the client tried to run on integrated WLS, the Index.jsf (first page to run) is stuck. When he removed the ADF security configuration it run correctly. But once again, once set up, he gave the same problem means Index.jsf gets stuck and tries to reload and reload and reload, but nothing happens.

    In any case, my paper is here:

    Using the HTTP 7101 port *.

    Using the SSL 7102 port *.

    "User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\bin\startWebLogic.cmd C:\Users\Lenovo n. b."

    [First IntegratedWebLogicServer.]

    [waiting for the server to complete its initialization...]

    .

    .

    Arguments of memory in JAVA: - Xms256m-Xmx512m - XX: PermSize = 128 m - XX: MaxPermSize = 512 m

    .

    CLASSPATH is C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\features\com. Oracle.DB.jdbc7 - DMS.jar; C:\Progra~1\Java\JDK18~1.0_6\lib\tools.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic_sp.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.jar; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\net. SF.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\modules\features\oracle.WLS.common.nodemanager_2.0.0.0.jar; C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\internal\features\jrf_wlsFmw_oracle.JRF.WLS.classpath_12.1.3.jar; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\com. Oracle.Cie.config - WLS - online_8.1.0.0.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derbynet.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derbyclient.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derby.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\xqrl.jar

    .

    PATH =; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\bin; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\org. Apache.ant_1.9.2\bin; C:\Progra~1\Java\JDK18~1.0_6\jre\bin; C:\Progra~1\Java\JDK18~1.0_6\bin; C:\oraclexe\app\oracle\product\112~1.0\server\bin; C:\Progra~3\Oracle\Java\javapath; C:\Progra~2\Intel\ICLSCL~1\; C:\Progra~1\Intel\ICLSCL~1\; C:\Windows\System32; C:\Windows; C:\Windows\System32\wbem; C:\Windows\System32\WINDOW~1\v1.0\; C:\Progra~1\Intel\INTEL(~1\DAL; C:\Progra~1\Intel\INTEL(~1\IPT; C:\Progra~2\Intel\INTEL(~1\DAL; C:\Progra~2\Intel\INTEL(~1\IPT; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64\oci920_8

    .

    ***************************************************

    * To start WebLogic Server, use a username and *.

    * password assigned to an administrator-level user.  For *.

    * server administration, using the WebLogic Server *.

    * the http://hostname:port\console console *.

    ***************************************************

    from weblogic with the Java version:

    Java version "1.8.0_60".

    Java (TM) SE Runtime Environment (build 1.8.0_60 - b27)

    Java for 64-bit Server VM (build 25.60 - b23, mixed mode)

    WLS starting with line:

    C:\PROGRA~1\Java\JDK18~1.0_6\bin\java-serveur-Xms256m-Xmx512m - XX : PermSize = 128m - XX : MaxPermSize = 512m-Dweblogic.Name=DefaultServer-Djava.security.policy=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy-Djavax.net.ssl.trustStore=C:\Users\LENOVO~1\AppData\Local\Temp\trustStore7412087253969911615.jks-Doracle.jdeveloper.adrs=true-Dweblogic.nodemanager.ServiceEnabled=true - Xverify : none-Djava.endorsed.dirs=C:\PROGRA~1\Java\JDK18~1.0_6\jre\lib\endorsed ; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\endorsed-Djava.protocol.handler.pkgs="oracle.mds.net.protocol « - Dopss.version=12.1.3-Digf.arisidbeans.carmlloc=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\carml-Digf.arisidstack.home=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\arisidprovider-Doracle.security.jps.config=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\jps-config.xml-Doracle.deployed.app.dir=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\servers\DefaultServer\tmp\_WL_user - Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\ Middleware\Oracle_Home\oracle_common\modules\oracle.ossoiap_12.1.3,C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.oamprovider_12.1.3,C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.jps_12.1.3 -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\Oracle\Middleware\Oracle_Home\oracle_common -Djrf.version=12.1.3 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1 -Doracle.server.config.dir=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\LENOVO~ 1\AppData\Roaming\JDEVEL~ 1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig-Doracle.mds.filestore.preferred=true-Dadf.version=12.1.3-da-Dwls.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server-Dweblogic.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server-Djps.app.credential.overwrite.allowed=true-Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder-Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager weblogic. Server

    < 7 October 2015 20:38:33 AST > < Info > < security > < BEA-090905 > < disable provider JCE CryptoJ self-intégrité for better startup performance. To allow this control, enter - Dweblogic.security.allowCryptoJDefaultJCEVerification = true. >

    < 7 October 2015 20:38:33 AST > < Info > < security > < BEA-090906 > < change the default Random Number Generator in RSA CryptoJ of ECDRBG128 to FIPS186PRNG. To disable this change, specify - Dweblogic.security.allowCryptoJDefaultPRNG = true. >

    < 7 October 2015 20:38:34 AST > < Info > < WebLogicServer > < BEA-000377 > < since Java hotspot 64-bit Server VM WebLogic Server Version 25.60 - b23 of Oracle Corporation. >

    < 7 October 2015 20:38:34 AST > < Info > < management > < BEA-141107 > < Version: WebLogic Server 12.1.3.0.0 Wed May 21 18:53:34 PDT 2014 1604337 >

    < 7 October 2015 20:38:36 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed at the START. >

    < 7 October 2015 20:38:36 AST > < Info > < WorkManager > < BEA-002900 > < Initializing self-adjusting thread pool. >

    < 7 October 2015 20:38:36 AST > < Info > < WorkManager > < BEA-002942 > < CMM level memory becomes 0. Sleep thread pool to 256. >

    < 7 October 2015 20:38:37 AST > < opinion > < Log Management > < BEA-170019 > < C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log server log file is opened. All events in the log server-side will be written to this file. >

    Oracle.security.jps.JpsStartup October 7, 2015 departure 20:38:38

    INFO: Jps at initialization.

    October 7, 2015 20:38:40 oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd

    INFO: Pushed ldap name and types of information to libOvd. LDAPS: DefaultAuthenticator:idstore.ldap.provideridstore.ldap.

    Oracle.security.jps.JpsStartup October 7, 2015 departure 20:38:42

    INFO: Jps began.

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLAddMemberToGroup does not seem to be appropriate >

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLCreateUser does not seem to be appropriate >

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLCreateGroup does not seem to be appropriate >

    < 7 October 2015 20:38:44 AST > < opinion > < security > < BEA-090082 > < security initialization using security realm myrealm. >

    October 7, 2015 20:38:46 oracle.dms.servlet.DMSServletFilter setEagerlySetContextValues

    INFO: The setting that controls eager recovery of certain types of data execution context was set to true.

    2015-10-07 20:38:46.400/13.614 Oracle coherence 12.1.3.0.0 < Info > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): responsible operational configuration of "jar:file:/C:/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence.xml".

    2015-10-07 20:38:46.462/13.675 Oracle coherence 12.1.3.0.0 < Info > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): charge of operational substitutions of "jar:file:/C:/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml".

    2015-10-07 20:38:46.465/13.679 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override ' / tangosol-coherence - override.xml ' is not specified

    2015-10-07 20:38:46.470/13.683 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "cache-factory - config.xml" is not specified

    2015-10-07 20:38:46.473/13.687 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "cache-factory-generator - config.xml" is not specified

    2015-10-07 20:38:46.531/13.745 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "/ custom - mbeans.xml ' is not specified

    Oracle Version 12.1.3.0.0 Build 52031 consistency

    Grid edition: development Mode

    Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

    < 7 October 2015 20:38:54 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to STANDBY. >

    < 7 October 2015 20:38:54 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed at the START. >

    < 7 October 2015 20:38:54 AST > < opinion > < Log Management > < BEA-170032 > < server has detected configuration ODL for java.util.logging. The configuration of PlatformLoggerLevels on the LogMBean attribute will be ignored. >

    < 7 October 2015 20:38:57 HNA > < error > < hats > < BEA-149205 > < failed to initialize the application "LocalSvcTblDataSource" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:38:58 AST > < error > < hats > < BEA-149205 > < failed to initialize application "SDM-GOSA" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:38:59 AST > < error > < hats > < BEA-149205 > < failed to initialize application "opss-audit-DBDS" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:39 AST > < error > < hats > < BEA-149205 > < failed to initialize application "opss-audit-viewDS" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:39:01 AST > < error > < hats > < BEA-149205 > < failed to initialize the application 'opss-data-source' because of the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < oracle.adf.common > < SensorTable > < getSensors > < detected sensors created in an invalid ADFContext were later prominent in a valid ADFContext.  The sensors must be created in a valid ADFContext.  Please enable the finest logging for more information. >

    < 7 October 2015 20:39:12 AST > < opinion > < Log Management > < BEA-170027 > < server was able to establish a link with the level of field diagnosis Service. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed to the admin. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed for RESUMING. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090171 > < loading identity certificate and the private key stored under the pseudonym of DemoIdentity starting from the keystore file kss://system/demoidentity kss. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090169 > < loading trust file of certificates from the kss kss://system/trust keystore. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090169 > < loading trust file of certificates from the C:\PROGRA~1\Java\JDK18~1.0_6\jre\lib\security\cacerts jks keystore. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel 'by default [5]' now listen on 127.0.0.1:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [5]" is now listening on 127.0.0.1:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [1] ' is now listening on d 74 fe80:0:0:0:4865:7: a78:e39f:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "[1] by default ' is now listening on d 74 fe80:0:0:0:4865:7: a78:e39f:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [3]" is now listening on fe80:0:0:0:557f:79 d 9:1 c 05: 6ad9:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [3]" is now listening on fe80:0:0:0:557f:79 d 9:1 c 05: 6ad9:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [6]" now listen on 0:0:0:0:0:0:0:1:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "DefaultSecure [6] ' now listen on 0:0:0:0:0:0:0:1:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel 'DefaultSecure' is now listening on 192.168.1.14:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default" is now listening on 192.168.1.14:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [2]" is now listening on fe80:0:0:0:594e:eca4:a12d:ab42:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [2]" is now listening on fe80:0:0:0:594e:eca4:a12d:ab42:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [4]" now listen on fe80:0:0:0:0:5efe:c0a8:10e:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [4]" is now listening on fe80:0:0:0:0:5efe:c0a8:10e:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000331 > < start the WebLogic Server Administration Server "DefaultServer" domain "DefaultDomain" running in development mode. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000360 > < server is started in OPERATION. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to RUNNING. >

    [20: 39:14] * WARNING: Application TaskManagementSystem may have been left to be deployed on the server.  Cancel the deployment of the administration console.

    IntegratedWebLogicServer start time: 42061 ms.

    [IntegratedWebLogicServer started.]

    [Running the application on IntegratedWebLogicServer TaskManagementSystem...]

    [20: 39:14] TMSViewControllerWebApp.war of Module Web recognized in the project TMSViewController.jpr

    [20: 39:14]-deployment began.  ----

    [20: 39:14] the target platform's (Weblogic 12.x).

    [20: 39:15] recovery of the existing application information

    [20: 39:15] analysis of the dependence running...

    [20: 39:15] deployment 2 profiles...

    [20: 39:15] wrote on the Web for C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\o.j2ee\drs\TaskManagementSystem\TMSViewControllerWebApp.war application Module

    [20: 39:15] wrote the Module Enterprise Application C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\o.j2ee\drs\TaskManagementSystem

    [20: 39:15] 1 deployment or the data sources on the server...

    [20: 39:16] Application deployment...

    < 7 October 2015 20:39:18 AST > < WARNING > < HTTP > < BEA-101384 > < WLServlet annotation is deprecated, use instead servlet 3.0 annotation. App:TaskManagementSystem@TMS, Class: oracle.adfinternal.view.faces.activedata.AdsServlet >

    < oracle.as.ccw.jmx.CCWCache > < CCWCache > < AutoRepublish > < error auto services - republish CCW >

    com.oracle.cie.servicetable.external.ServiceTableException: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:405)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)

    at oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:231)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:148)

    at weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)

    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.commit(RuntimeAccessDeploymentReceiverService.java:463)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.commit(DeploymentReceiverCallbackDeliverer.java:64)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.callDeploymentReceivers(AwaitingCommit.java:241)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:137)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)

    at weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:517)

    to weblogic.deploy.service.internal.transport.CommonMessageReceiver$ 3.run(CommonMessageReceiver.java:797)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:548)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)

    at javax.naming.InitialContext.lookup(InitialContext.java:417)

    at com.oracle.cie.servicetable.util.JdbcUtil.getOnlineLocalSvcTblConnection(JdbcUtil.java:383)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:92)

    ... 18 more

    < oracle.adf.common > < AdfDiagnosticsJarsVersionDumpImpl > < executeDump > < path of the discharge of version jars: NB C:\Users\Lenovo User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\servers\DefaultServer\logs/TaskManagementSystem-Versions.csv >

    [20: 39:27] Application deployed successfully.

    [20: 39:27] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:

    [20: 39:27] http://192.168.1.14:7101 / TMS

    [20: 39:27] download jazn-data users.

    [20: 39:27] update user "Davis."

    < 7 October 2015 20:39:28 AST > < WARNING > < RMI > < BEA-080003 > < A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke (Ljavax.management.ObjectName; Ljava.lang.String; Ljava.rmi.MarshalledObject; [Ljava.lang.String; Ljavax.security.auth.Subject ;)

    javax.management.RuntimeMBeanException: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi.

    javax.management.RuntimeMBeanException: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

    to weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$ 16.run(WLSMBeanServerInterceptorBase.java:449)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.setUserDescription(DBMSSQLAuthenticatorDelegateImpl.java:469)

    at weblogic.security.providers.authentication.SQLAuthenticatorImpl.setUserDescription(SQLAuthenticatorImpl.java:84)

    at weblogic.security.providers.authentication.SQLAuthenticatorMBeanImpl.setUserDescription(SQLAuthenticatorMBeanImpl.java:424)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    Truncated. check the log file full stacktrace

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)

    Truncated. check the log file full stacktrace

    >

    [20: 39:28] ERROR: unable to set the description for the user "Davis."  Reason: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    [20: 39:28] for deployment time: 13 seconds

    [20: 39:28]-deployment is complete.  ----

    Run start time: 13489 ms.

    [Application running on IntegratedWebLogicServer TaskManagementSystem]

    URL - target http://127.0.0.1:7101/TMS/faces/index.JSF

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,972 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,973 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,971 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 08:42:20 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,980 during the inactive configured timeout of 5 seconds. >

    [Requested application termination.  Undeploying application TaskManagementSystem.]

    [20: 42:30] closing the Application Modules in the application 'TaskManagementSystem '...

    [20: 42:30] application in the "TaskManagementSystem" application Modules have been closed

    [20: 42:30] determine the target Modules...

    [20: 42:30] cancellation of the Application deployment...

    [20: 42:31] [Deployer: 149192] Operation 'delete' on request 'TaskManagementSystem' is underway on "DefaultServer".

    < oracle.as.ccw.jmx.CCWCache > < CCWCache > < AutoRepublish > < error auto services - republish CCW >

    com.oracle.cie.servicetable.external.ServiceTableException: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:405)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)

    at oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:231)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:148)

    at weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)

    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.commit(RuntimeAccessDeploymentReceiverService.java:463)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.commit(DeploymentReceiverCallbackDeliverer.java:64)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.callDeploymentReceivers(AwaitingCommit.java:241)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:137)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)

    at weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:517)

    to weblogic.deploy.service.internal.transport.CommonMessageReceiver$ 3.run(CommonMessageReceiver.java:797)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:548)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)

    at javax.naming.InitialContext.lookup(InitialContext.java:417)

    at com.oracle.cie.servicetable.util.JdbcUtil.getOnlineLocalSvcTblConnection(JdbcUtil.java:383)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:92)

    ... 18 more

    Best regards,

    Mudi

    What kind of security is implemented in the server that falls out?

    There are a lot of

    <[Security:090739]The sql="" statement="" for="" sqladdmembertogroup="" does="" not="" appear="" to="" be="" correct="">

    way of errors before starting the application to deploy.

    So, I see spaces in the path to the installed jdev. This can cause all sorts of trouble.

    Timo

  • Reg: ADF security using SQLProvider

    Hello

    I followed this blog

    http://Biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html

    configured the same as shown in this blog... But how to combine my application security provider which I created?  I can activate the security in my application... but I can't able to map the security provider which I created for my application...

    Thank you

    Nitesh

    At the time of development, you can hardcode the users in the file jazn-"Data.xml", but it is useless for a production deployment as your users are defined in the SQL authenticator.

    In the file jazn-"Data.xml", you define your roles from application level to protect your resources from the app (pages/task flow), then match your business roles that will subsequently come from your SQLAuthenticator.

    Then, the SQLAuthenticator when running on the server defines the users, passwords and what roles the company, the user has been assigned.

    So at run time when the user attempts to access a secure resource, say with the application role has which maps to the role of company B, ADF application WLS to ask the SQLAuthenticator of the current user's role of company B.  Yes, they get access, no, they get an error.

    I suggest that you only consider multiple security videos available through the Oracle ADF Insider Web site:

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/adfinsider-093342.html

  • ADF security: using the own authorization logic

    Hello

    We use the ADF security.
    But we have a very special user-/ law-management, which is stored in our oracle database and should be administered by the application itself.
    Authentication is already running against the users of the database.
    But now we must move from the logic of authorization to the db.

    The logic:
    A page has some components where each item can have its own law, if the user can see it or not.
    If a user has at least one right for a component, it is allowed to see the page.

    Our logic is so different from the logic of the ADF security.

    How can we use Secure ADF with our requirements to check if a user is authorized to view a page or not?
    DB - side, we could prepare a view that contains all the users with the pages that they are authorized to see.
    Or maybe this logic could also be made to a bean.

    I think that we have to choose programmatic way, which perhaps recovers after a successful login all rights or pages which allow to obtain.


    Best regards
    Bastian

    I use JDeveloper 11 g Release 1 (11.1.1.3.0)

    You can set object privileges and grant roles. If a user has the privilege to see a page, disable the link itself based on its role.
    In addition, when the user accesses a particular page, you can control access, as if the user has have delete privilege, you can disable delete button.

  • ADF security how do I add a user to the ldap.

    Hi all

    I am new to the safety of the ADF, in my case I want to create a secure application

    so I enable the adf on my application security. step is the following-

    1. create user

    2. General resources

    When the application runs request username and password valid user and grant them the page.

    but my question is that I created the user manually but

    How can I add users to the database table or ldap?

    Thank you

    Manish

    I use jdev version 11.1.1.5.0 and configure the security of the adf on my request to not find option 'identity Store' where Ldap is selected.

    Example of aiming is very old, so you do not have (and need not) this option. Just use the options for authentication or "Authentication and Authorization".

    and I have weblogic server that configure ldap server but how manage my application to use that ldap.

    When you set the identity on Weblogic server provider, all users and roles of this provider will be automatically available in all applications on this Weblogic domain.

    Dario

  • Use the ADF security to grant access to the application

    Hello

    One of our customers has to move their forms ADF application. The customer also wants to implement SSO using Kerberos. I could implement the ADF to the application security.

    The Application has two types of users whose information is stored in the USERS table in the database-

    1. Users of the application (not a domain user)
    2. Active Directory/domain users.

    What the clients want to do, is that if the user belongs to the domain, while the user must be able to view the home page directly. If the user is not a domain user, then the login page must be displayed and the user must be authenticated before the redirection to the home page.

    The first part, i.e. to implement SSO for users in domain works. But I don't know exactly how to proceed with the Application users.

    Can I create a custom authenticator that connects to the database and authenticate users of the Application?

    Any suggestion and pointers will be helpful.

    Thanks and greetings

    Tinto

    You probably don't need to create the custom authenticator.

    WLS provides already ReadOnlySQLAuthenticator: Configuration of authentication - 11 g Release 1 (10.3.6) providers

    Define "control indicator" for two suppliers of "SUFFICIENT".

    I guess within the Web.XML you have something like:

    CLIENT-CERT

    ?

    WLS supports several methods of connection in the element for you can use something like:

    CLIENT-CERT, FORM

    Login

    errorPage

    (no doubt simpler is to configure the security of form based in the ADF Security Assistant and then manually add CLIENT-CERT in the web.xml file)

    Dario

  • Help trying to set up the ADF security for an application

    Hello

    I create in my application a masterTemplate.jsf page, then a page home.jsf which has the page masterTemplate.jsf as its model.
    I activated the ADF security in my application and set the permission of "view" for the anonymous role homePageDef.
    When I run the app on JDeveloper integrated server with debugging options, this is what I get in the console:

    [JpsAuth] Check permissions
    PolicyContext: [related]
    Goal/resources: [view.pageDefs.homePageDef]
    Action: [see]
    Permissions class: [oracle.adf.share.security.authorization.RegionPermission]
    Result: [FAILURE]
    Reviewer: [VAC]
    ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@68ffab0a failed
    CodeSource=file:/C:/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
    School principals total = 2 principals)
    1 JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl 'anonymous' GUID = null DN = null
    (2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl 'anonymous-role' GUID = null DN = null)
    Permissions =)
    ("java.io.FilePermission" '\C:\oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar', 'read')
    ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context = SYSTEM, mapName = *, keyName = * ' ' * ')
    ("java.util.PropertyPermission" "line.separator" 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.vm.version', 'read')
    ("java.util.PropertyPermission" 'java.vendor.url', 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.vendor', 'read')
    ("java.util.PropertyPermission" "java.vm.name", "read")
    ("java.util.PropertyPermission" "os.name" 'read')
    ("java.util.PropertyPermission" 'java.vm.vendor', 'read')
    ("java.util.PropertyPermission" 'path.separator' 'read')
    ("java.util.PropertyPermission" 'os.version' 'read')
    ("java.util.PropertyPermission" 'java.specification.name', 'read')
    ("java.util.PropertyPermission" 'mds.store.filesystem.path', 'read')
    ("java.util.PropertyPermission" 'os.arch' 'read')
    ("java.util.PropertyPermission" "java.version", "read")
    ("java.util.PropertyPermission" 'java.class.version', 'read')
    ("java.util.PropertyPermission" "java.vendor" 'read')
    ("java.util.PropertyPermission" 'file.separator' 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.name', 'read')
    ("java.util.PropertyPermission" 'java.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.specification.vendor', 'read')
    ("java.lang.RuntimePermission" "stopThread")
    ("java.lang.RuntimePermission" "exitVM")
    ("java.net.SocketPermission' 'localhost:1024' - 'Listen, resolve')
    (oracle.security.jps.service.policystore.PolicyStoreAccessPermission name of the context: APPLICATION: * Actions: getApplicationPolicy)
    )
    Call stack: java.security.AccessControlException: access denied oracle.adf.share.security.authorization.RegionPermission/view.pageDefs.homePageDef/view

    If the page has no definition of the pages behind, the application starts correctly because it does not need to check security for this page. The minute I create a page for the home page definition and set the permission for anonymous role, the failure message above rises.
    Can you please help me solve this problem? Is this something that is not in the configuration steps?

    Thank you
    Mircea

    Hello

    If the model also has a file PageDef, this file need to go to grantedb as well

    Frank

Maybe you are looking for