[jboss-cvs] JBossAS SVN: r92026 - projects/security/security-jboss-sx/trunk/jbosssx/src/test/java/org/jboss/test/authentication/jaas.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 5 16:32:14 EDT 2009


Author: mmoyses
Date: 2009-08-05 16:32:14 -0400 (Wed, 05 Aug 2009)
New Revision: 92026

Modified:
   projects/security/security-jboss-sx/trunk/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java
Log:
SECURITY-426: fixing invocation of the mbean

Modified: projects/security/security-jboss-sx/trunk/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java
===================================================================
--- projects/security/security-jboss-sx/trunk/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java	2009-08-05 20:32:00 UTC (rev 92025)
+++ projects/security/security-jboss-sx/trunk/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java	2009-08-05 20:32:14 UTC (rev 92026)
@@ -121,7 +121,7 @@
    //We create a MBean that has just one operation for testing purposes
    public interface TestMBean
    {
-      byte[] decode64(byte[] secret) throws Exception;
+      byte[] decode64(String secret) throws Exception;
    }
    
    public class Test implements TestMBean
@@ -131,9 +131,9 @@
       }
       
       //In JBoss environment, the JaasSecurityDomain mbean will perform the decoding
-      public byte[] decode64(byte[] secret) throws Exception
+      public byte[] decode64(String secret) throws Exception
       {
          return "theduke".getBytes();
       }      
    }
-}
\ No newline at end of file
+}




More information about the jboss-cvs-commits mailing list