1 26 package org.objectweb.easybeans.security.propagation.rmi.jrmp.interceptors; 27 28 import org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext; 29 import org.objectweb.easybeans.security.api.EZBSecurityContext; 30 31 35 public class SecurityServiceContext implements JServiceContext { 36 37 40 private static final long serialVersionUID = 4150443412309988096L; 41 42 45 public static final int SEC_CTX_ID = 2503; 46 47 50 private EZBSecurityContext securityContext = null; 51 52 56 public SecurityServiceContext(final EZBSecurityContext securityContext) { 57 this.securityContext = securityContext; 58 } 59 60 64 public EZBSecurityContext getSecurityContext() { 65 return securityContext; 66 } 67 68 71 public int getContextId() { 72 return SEC_CTX_ID; 73 } 74 75 } 76 | Popular Tags |