[jboss-cvs] JBossAS SVN: r92025 - projects/security/security-jboss-sx/branches/Branch_2_0/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:00 EDT 2009
Author: mmoyses
Date: 2009-08-05 16:32:00 -0400 (Wed, 05 Aug 2009)
New Revision: 92025
Modified:
projects/security/security-jboss-sx/branches/Branch_2_0/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/branches/Branch_2_0/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java
===================================================================
--- projects/security/security-jboss-sx/branches/Branch_2_0/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java 2009-08-05 20:20:25 UTC (rev 92024)
+++ projects/security/security-jboss-sx/branches/Branch_2_0/jbosssx/src/test/java/org/jboss/test/authentication/jaas/LdapLoginModuleDecodeActionUnitTestCase.java 2009-08-05 20:32:00 UTC (rev 92025)
@@ -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