1 22 package org.jboss.test.security.service; 23 24 import java.security.Principal ; 25 import org.jboss.system.ServiceMBeanSupport; 26 27 32 public class SRPCacheTest extends ServiceMBeanSupport 33 { 34 private int callCount; 35 36 public synchronized int testSession(Principal principal, byte[] key) 37 { 38 callCount ++; 39 log.info("testSession called, callCount="+callCount+", principal="+principal); 40 return callCount; 41 } 42 } 43 | Popular Tags |