*/
protected List<Realm> realms = new LinkedList<Realm>();
+ /**
+ * Descriptive information about this Realm implementation.
+ */
+ protected static final String name = "CombinedRealm";
/**
* Add a realm to the list of realms that will be used to authenticate
@Override
protected String getName() {
- // This method should never be called
- // Stack trace will show where this was called from
- UnsupportedOperationException uoe =
- new UnsupportedOperationException(
- sm.getString("combinedRealm.getName"));
- log.error(sm.getString("combinedRealm.unexpectedMethod"), uoe);
- throw uoe;
+ return name;
}
@Override
<bug>49876</bug>: Fix the generics warnings in the copied Apache Jakarta
BCEL code. Based on a patch by Gábor. (markt)
</fix>
+ <fix>
+ <bug>49883</bug>: Ensure that the CombinedRealm returns a name for use
+ in log messages rather than throwing an
+ <code>UnsupportedOperationException</code>. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">