-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR8
-
None
In case when attribute referral-mode is added to dir-context with wrong value then failure-description includes IllegalArgumentException instead of some non-Java admin friendly description:
/subsystem=elytron/dir-context=dirContext:add(url=localhost,referral-mode=abc) { "outcome" => "failed", "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: No enum constant org.wildfly.security.auth.realm.ldap.DirContextFactory.ReferralMode.abc", "rolled-back" => true }
Suggestion for improvement:
Use the same type of failure-description as e.g. logical-role-mapper, see:
/subsystem=elytron/logical-role-mapper=logicalRoleMapper:add(logical-operation=abc) { "outcome" => "failed", "failure-description" => "WFLYCTL0248: Invalid value abc for logical-operation; legal values are [OR, AND, XOR, MINUS]", "rolled-back" => true }
- is cloned by
-
WFLY-7587 Complicated failure-description for referral-mode in Elytron dir-context
- Closed
- is incorporated by
-
JBEAP-7954 Upgrade to Elytron Subsystem 1.0.0.Alpha17
- Closed
-
JBEAP-8073 Upgrade WildFly Elytron Subsystem to 1.0.0.Alpha18
- Closed