oracle.security.jps.service.policystore.PolicyStoreException: JPS-04123: Cannot add principal to the application role.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Ganesh.., 1 year ago
JPS-04123: Cannot add principal to the application role.
oracle.security.jps.service.policystore.PolicyStoreException: JPS-04123: Cannot add principal to the application role.
at oracle.security.jps.internal.policystore.PolicyUtil.validatePrincipalNotEqualToAppRole(PolicyUtil.java:1036)
at oracle.security.jps.internal.policystore.entitymanager.impl.ApplicationRoleManagerImpl.addPrincipalToAppRole(ApplicationRoleManagerImpl.java:2236)
at oracle.security.jps.internal.policystore.ldap.ApplicationRoleAuditManager.addPrincipalToAppRole(ApplicationRoleAuditManager.java:170)
at oracle.security.jps.internal.policystore.JpsAppPolicy.addPrincipalToAppRole(JpsAppPolicy.java:988)
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.clone(JpsDstPolicy.java:1478)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.