jrun.security
Interface SecurityContextCacheInterface

All Superinterfaces:
ClusterableService, java.rmi.Remote
All Known Implementing Classes:
SecurityContextCache

public interface SecurityContextCacheInterface
extends ClusterableService

Clusterable service that keeps a cache of SecurityContexts created on authentication This enables the SecurityContexts to be propagated among the nodes in a cluster such that if a user is authenticated to one node, then he is authenticated to all the nodes However, authorization is still performed locally. This means all the nodes should either share the same security store or have them replicated for authorization


Method Summary
 SecurityContext get(java.lang.Object key)
           
 void put(java.lang.Object key, SecurityContext jrsc)
           
 void remove(java.lang.Object key)
           
 
Methods inherited from interface jrunx.cluster.ClusterableService
getPeers, getRemoteHostIP, getRemoteHostName, getRemoteServerName, getServerInfo, invoke, killRemoteServer, numPeers, toStub
 

Method Detail

get

public SecurityContext get(java.lang.Object key)
                    throws java.rmi.RemoteException

put

public void put(java.lang.Object key,
                SecurityContext jrsc)
         throws java.rmi.RemoteException

remove

public void remove(java.lang.Object key)
            throws java.rmi.RemoteException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.