[MAGNOLIA-3911] Implement getProperty(name) for ExternalUser Created: 10/Dec/11  Updated: 13/Mar/12  Resolved: 10/Dec/11

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.5

Type: Improvement Priority: Neutral
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

The getProperty() method in ExternalUser is not implemented and returns a UnsupportedOperationException:

    public String getProperty(String propertyName) {
        throw new UnsupportedOperationException("not implemented for this ExternalUser");
    }

This could easily be fixed by returning a named property from the underlying userDetails object.


Generated at Mon Feb 12 03:50:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.