Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-917

When using Console only deployment, checking policies in a sub-realm throws a "java.lang.UnsupportedOperationException: Not supported" exception.

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Snapshot9.5.1, Snapshot9.5.2, 9.5.3
    • 9.5.5, 10.0.0-EA
    • console, entitlements, sms
    • OpenAM deployed as server and console only instances.
    • Rank:
      1|hzncsv:

      Description

      When using Console only deployment, checking policies in a sub-realm throws a java.lang.UnsupportedOperationException: Not supported exception in the Entitlements debug log.

      This is due to the search method that takes an excludes parameter of com.sun.identity.sm.jaxrpc.SMSJAXRPCObject not being implemented and being called by the console when attempting to show referral policies for a sub-realm:

      public Iterator search(SSOToken token, String startDN, String filter,
      int numOfEntries, int timeLimit, boolean sortResults,
      boolean ascendingOrder, Set excludes)
      throws SMSException, SSOException {
      throw new UnsupportedOperationException("Not supported.");
      }

      The fix requires implementing a new search method in the server-side implementation com.sun.identity.sm.jaxrpc.SMSJAXRPCObjectImpl to support this unimplemented method.

        Attachments

          Activity

            People

            markdr Mark de Reeper
            markdr Mark de Reeper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: