Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1212

SecurityException in CallerIdentityLoginModule

XMLWordPrintable

      SourceForge Submitter: rrhodes .
      The CallerIdentityLoginModule throws a
      SecurityException when it tries to get the login
      information from a web application. I have verified that
      it throws an Exception when SimpleServerLoginModule,
      DatabaseServerLoginModule, or my own custom login
      module are used for authentication of the web
      application. I'm using jboss v3.2.6

      The real exception is a ClassCastException, but the
      caller login module is catching it and rethrowing
      SecurityException.

      On line 122 of CallerIdentityLoginModule, it has:
      password = (char[]) o;

      This needs to be changed to:
      String pass = (String) o;
      password = pass.toCharArray();

      I'm uploading my file with the change.

      thanks,
      Ryan Rhodes

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: