1 21 package org.jacorb.security.level2; 22 23 import org.omg.CORBA.*; 24 import org.omg.SecurityLevel2.*; 25 import org.omg.Security.*; 26 34 35 public class QOPPolicyImpl 36 extends org.omg.CORBA.LocalObject 37 implements QOPPolicy 38 { 39 40 private QOP qop = null; 41 42 public QOPPolicyImpl(QOP qop) 43 { 44 this.qop = qop; 45 } 46 47 51 public QOP qop() 52 { 53 return qop; 54 } 55 56 57 59 63 public Policy copy() 64 { 65 return new QOPPolicyImpl(qop); 66 } 67 68 71 public void destroy() 72 { 73 qop = null; 74 } 75 76 80 public int policy_type() 81 { 82 return SecQOPPolicy.value; 83 } 84 85 } 87 88 89 90 91 92 | Popular Tags |