Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Remove ADF Security

jflackFeb 13 2017 — edited Feb 15 2017

I'm using JDev/ADF 12.2.1.0.

I think I've accidentally turned on ADF Security in an ADF Essentials application being deployed to Glassfish 4.1.1.

It WAS working fine in Glassfish with standard JEE authentication and authorization.   But I've been testing some changes to the application with the Integrated Weblogic Server, and now when I deploy to Glassfish, I'm getting the error:

Could not initialize class oracle.adf.share.security.identitymanagement.UserProfile

I think it would only be trying to initialize this class if it was trying to activate ADF Security, and that requires Oracle Weblogic Server - won't work on Glassfish.  So, somehow, I think I must have accidentally turned on some parts of ADF Security.

So, what configuration elements do I need to remove, and what libraries do I need to remove to get it to stop trying to initialize this class.  I want to leave the login and error page, and the security constraints in web.xml, but nothing else.

This post has been answered by jflack on Feb 15 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2017
Added on Feb 13 2017
6 comments
1,159 views