org.objectweb.jonas.security.interceptors.jrmp
Class ServerSecurityInterceptor

java.lang.Object
  extended by org.objectweb.jonas.security.interceptors.jrmp.ServerSecurityInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

public class ServerSecurityInterceptor
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

Class ServerSecurityInterceptor is a JRMP security server interceptor for Security Context propagation

Version:
1.0, 10/03/2003

Field Summary
static int SEC_CTX_ID
          security context id
 
Constructor Summary
ServerSecurityInterceptor()
          Empty constructor
 
Method Summary
 java.lang.String name()
          get the name of this interceptor
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          Receive request
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          send reply with context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEC_CTX_ID

public static int SEC_CTX_ID
security context id

Constructor Detail

ServerSecurityInterceptor

public ServerSecurityInterceptor()
Empty constructor

Method Detail

receive_request

public void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                     throws java.io.IOException
Receive request

Specified by:
receive_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occurs with the ObjectOutput

send_reply

public void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
send reply with context

Specified by:
send_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

name

public java.lang.String name()
get the name of this interceptor

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Returns:
name

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                    throws java.io.IOException
Specified by:
send_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
Specified by:
send_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException