Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1453

Sigtest: In public API non public class RealmDefiniteOutcomeAuthenticationEvent is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.2.0.Beta11
    • 1.2.0.Beta10
    • API / SPI
    • None

    Description

      SigTest check reveals:

      Hidden class found:
      org.wildfly.security.auth.server.event.RealmDefiniteOutcomeAuthenticationEvent
      in method public
      {org.wildfly.security.auth.server.event.RealmEventVisitor%1}
      org.wildfly.security.auth.server.event.RealmEventVisitor.handleDefiniteOutcomeAuthenticationEvent(org.wildfly.security.auth.server.event.RealmDefiniteOutcomeAuthenticationEvent,{org.wildfly.security.auth.server.event.RealmEventVisitor%0})
      in class org.wildfly.security.auth.server.event.RealmEventVisitor
      

      Fix could be as easy as make RealmDefiniteOutcomeAuthenticationEvent public.

      But I still left for developers judgement if make constructor of RealmDefiniteOutcomeAuthenticationEvent package private. Thus RealmDefiniteOutcomeAuthenticationEvent can't be inherited from. If that was reason for not marking this class as public originally.

      Attachments

        Activity

          People

            jkalina@redhat.com Jan Kalina (Inactive)
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: