Pages

Tuesday, November 12, 2013

ADF Security - JpsAnonymousRole Problem In Jdeveloper R1 Release

When I'm new to using
 Jdeveloper 11.1.1.6.0 and 
 Jdeveloper 11.1.1.7.0 

while i'm configuring ADF-Security to my Fusion web application.

[02:18:37 AM] Deploying Application...
<CodebasePolicyHandler> <migrateDeploymentPolicies> Migration of codebase policy failed. Reason: {0}.

oracle.security.jps.JpsException: java.lang.IllegalArgumentException: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl

I got above error in those two Jdeveloper specific version only.   
I worked with Jdeveloper 11.1.1.4.0,11.1.1.5.0,11.1.2.4.0 Nothing like error reproduced. Apart from development. I wasted most of the time for investigation about this error. 

Don't ignore error which you had.Above error is not a show stopper.it will allow you to run the application. but you can get expected output.

To Avoid that,

<app-role>

<name>anonymous-role</name>

<class>oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl</class>

<display-name>anonymous-role</display-name>

</app-role>

Just remove this part of xml code from your jazn-data.xml.

Now your application will not re-produce any error log as of previously. it will works as you expect.

No comments:

Post a Comment