public void actionPerformed(ActionEvent e) { AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cb.isSelected()? Boolean.TRUE: Boolean.FALSE); } });
public void actionPerformed(ActionEvent e) { secservice.setTrustedLanMode(cbtrulan.isSelected()); // doRefresh(); } });
/** * Get the mechanism info for the gui. */ public MechanismInfo getMechanismInfo() { List<ParameterInfo> params = new ArrayList<ParameterInfo>(); params.add(new ParameterInfo("verify", "If turned on, the ttp is verify (its certificate must be in local keystore)", boolean.class, verify)); params.add(new ParameterInfo("ttpcid", "The component identifier (or name) of the trusted third party", IComponentIdentifier.class, ttpcid)); MechanismInfo ret = new MechanismInfo("Trusted Third Party", getClass(), params); return ret; }
public void execute(Object args) { String[] tmp = (String[])args; secservice.setNetworkPassword(tmp[0], tmp[1]).addResultListener(new JCCResultListener<Void>(jcc) { public void customResultAvailable(Void result) { // doRefresh(); } }); } };
public void customResultAvailable(ISecurityService sser) { sser.checkVirtual(virtuals, callername).addResultListener(new DelegationResultListener<Void>(ret) { public void customResultAvailable(Void result) { // In principle allowed caller, now has to be authenticated // todo: timepoint internalCheck(context, callername, signed).addResultListener(new DelegationResultListener<Void>(ret)); } }); } });
public void actionPerformed(ActionEvent e) { String p = tfstorepath.getText(); String relp = SUtil.convertPathToRelative(p); secservice.setKeystoreInfo(relp, tfstorepass.getText(), tfkeypass.getText()); } });
public void customResultAvailable(ISecurityService ss) { ss.getPlatformCertificate(cid).addResultListener(new DelegationResultListener<Certificate>(ret)); } });
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String val = value instanceof MechanismInfo? SReflect.getInnerClassName(((MechanismInfo)value).getClazz()): (String)value; return super.getListCellRendererComponent(list, val, index, isSelected, cellHasFocus); } });
public void customResultAvailable(ISecurityService sser) { sser.verifyCall(content, signed, callername).addResultListener(new DelegationResultListener<Void>(ret)); } });
public void actionPerformed(ActionEvent e) { AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cb.isSelected()? Boolean.TRUE: Boolean.FALSE); } });
/** * Get the mechanism info for the gui. */ public MechanismInfo getMechanismInfo() { List<ParameterInfo> params = new ArrayList<ParameterInfo>(); params.add(new ParameterInfo("verify", "If turned on, the ttp is verify (its certificate must be in local keystore)", boolean.class, verify)); params.add(new ParameterInfo("ttpcid", "The component identifier (or name) of the trusted third party", IComponentIdentifier.class, ttpcid)); MechanismInfo ret = new MechanismInfo("Trusted Third Party", getClass(), params); return ret; }
public void execute(Object args) { String[] tmp = (String[])args; secservice.setNetworkPassword(tmp[0], tmp[1]).addResultListener(new JCCResultListener<Void>(jcc) { public void customResultAvailable(Void result) { // doRefresh(); } }); } };
public void actionPerformed(ActionEvent e) { secservice.setTrustedLanMode(cbtrulan.isSelected()); // doRefresh(); } });
public void customResultAvailable(ISecurityService sser) { sser.checkVirtual(virtuals, callername).addResultListener(new DelegationResultListener<Void>(ret) { public void customResultAvailable(Void result) { // In principle allowed caller, now has to be authenticated // todo: timepoint internalCheck(context, callername, signed).addResultListener(new DelegationResultListener<Void>(ret)); } }); } });
public void actionPerformed(ActionEvent e) { IComponentIdentifier cid = csd.selectAgent(null); if(cid!=null) { // tf.setText(cid.getName()); AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cid); } } });
/** * Get the mechanism info for the gui. */ public MechanismInfo getMechanismInfo() { List<ParameterInfo> params = new ArrayList<ParameterInfo>(); params.add(new ParameterInfo("responses", "Number of evaluated certificate responses " + "(must all be equal, use 1 for bootstrapping, use <1 to disable)", int.class, Integer.valueOf(responses))); MechanismInfo ret = new MechanismInfo("Decentralized", getClass(), params); return ret; }
public void actionPerformed(ActionEvent e) { IComponentIdentifier cid = csd.selectAgent(null); if(cid!=null) { // tf.setText(cid.getName()); AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cid); } } });
/** * Get the mechanism info for the gui. */ public MechanismInfo getMechanismInfo() { List<ParameterInfo> params = new ArrayList<ParameterInfo>(); params.add(new ParameterInfo("responses", "Number of evaluated certificate responses " + "(must all be equal, use 1 for bootstrapping, use <1 to disable)", int.class, Integer.valueOf(responses))); MechanismInfo ret = new MechanismInfo("Decentralized", getClass(), params); return ret; }
public void run() { String name = tf.getText(); IComponentIdentifier cid = name.length()>0? new BasicComponentIdentifier(name): null; AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cid); } }, tf);
public void run() { String name = tf.getText(); IComponentIdentifier cid = name.length()>0? new ComponentIdentifier(name): null; AcquireCertificatePanel.this.secser.setAcquisitionMechanismParameterValue(mi.getClazz(), pi.getName(), cid); } }, tf);