1 package org.jacorb.security.sas; 2 3 22 23 24 import org.apache.avalon.framework.configuration.Configuration; 25 import org.apache.avalon.framework.configuration.ConfigurationException; 26 import org.omg.CORBA.ORB ; 27 import org.omg.CSIIOP.CompoundSecMechList; 28 import org.omg.IOP.Codec ; 29 30 public interface ISASContext 31 { 32 public void configure(Configuration configuration) throws ConfigurationException; 33 public String getMechOID(); 34 35 public void initClient(); 36 public byte[] createClientContext(ORB orb, Codec codec, CompoundSecMechList csmList); 37 public String getClientPrincipal(); 38 39 public void initTarget(); 40 public boolean validateContext(ORB orb, Codec codec, byte[] contextToken); 41 public String getValidatedPrincipal(); 42 } 43 | Popular Tags |