1 package org.jacorb.security.sas; 2 3 22 23 import org.apache.avalon.framework.configuration.Configuration; 24 import org.apache.avalon.framework.configuration.ConfigurationException; 25 import org.omg.CORBA.ORB ; 26 import org.omg.CSIIOP.CompoundSecMechList; 27 import org.omg.IOP.Codec ; 28 29 public class NullContext 30 implements ISASContext 31 { 32 33 public void configure(Configuration configuration) 34 throws ConfigurationException 35 { 36 } 37 38 public String getMechOID() { 39 return ""; 40 } 41 42 45 public byte[] createClientContext(ORB orb, Codec codec, CompoundSecMechList csmList) { 46 return new byte[0]; 47 } 48 49 52 public String getClientPrincipal() { 53 return ""; 54 } 55 56 59 public boolean validateContext(ORB orb, Codec codec, byte[] contextToken) { 60 return true; 61 } 62 63 66 public String getValidatedPrincipal() { 67 return ""; 68 } 69 70 73 public void initClient() { 74 } 75 76 79 public void initTarget() { 80 } 81 } 82 | Popular Tags |