I saw this

http://jboss.sourceforge.net/doc-24/ch07s09.html


The example they give seems to set the cache policy.


  | <mbean code="org.jboss.security.plugins.JaasSecurityManagerService" 
name="Security:name=JaasSecurityManager">
  |     <attribute name="SecurityManagerClassName">
  |         org.jboss.security.plugins.JaasSecurityManager
  |     </attribute>
  |     <attribute name="SecurityProxyFactoryClassName">
  |         org.jboss.security.SubjectSecurityProxyFactory
  |     </attribute>
  |     <attribute name="AuthenticationCacheJndiName">
  |         srp/SRPAuthenticationCache
  |     </attribute>
  | </mbean>
  | 

Mine does set a cache policy. Here is my version of the above
from jboss-service.xml

  |    <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
  |       name="jboss.security:service=JaasSecurityManager">
  |       <attribute name="SecurityManagerClassName">
  |          org.jboss.security.plugins.JaasSecurityManager
  |       </attribute>
  |    </mbean>
  | 

After looking at the code for org.jboss.security.plugins.JaasSecurityManagerService, 
it seems to default to a timed cache. 

public class JaasSecurityManagerService
  |    extends ServiceMBeanSupport
  |    implements JaasSecurityManagerServiceMBean
  | {
  |    ...
  |    private static final String DEFAULT_CACHE_POLICY_PATH = 
"java:/timedCacheFactory";
  | ...
  | 

How do I setup the timed cache? Can I just set this parameter to nothing? Will that 
override the timed cache?

I'll try.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822802#3822802

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822802


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to