Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5059411

update sample LoginModule.initialize methods with generics

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      the javax.security.auth.spi.LoginModule.initialize method definition
      has been generified. therefore the sharedState and options Maps
      are now:

        Map<java.lang.String, ?> sharedState
        Map<java.lang.String, ?> options

      existing documentation at these locations:

        http://java.sun.com/j2se/1.5.0/docs/guide/security/jaas/JAASLMDevGuide.html
        http://java.sun.com/j2se/1.5.0/docs/guide/security/jaas/tutorials/SampleLoginModule.java

      contain example LoginModule implementations that still have
      the old non-generified initialize methods.
      they should be updated - this would cause less developer confusion.

      ###@###.### 2004-06-07

        Attachments

          Activity

            People

            • Assignee:
              santhoshla Santhosh La (Inactive)
              Reporter:
              claisunw Charlie Lai (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: