@Override @End public String back() { return "back"; }
boolean isEndTaskAnnotation = method.isAnnotationPresent(EndTask.class); boolean beforeRedirect = ( isEndAnnotation && method.getAnnotation(End.class).beforeRedirect() ) || ( isEndTaskAnnotation && method.getAnnotation(EndTask.class).beforeRedirect() ); boolean endRoot = ( isEndAnnotation && method.getAnnotation(End.class).root() ); ( isEndAnnotation && method.getAnnotation(End.class).ifOutcome().length==0 ) || ( isEndTaskAnnotation && method.getAnnotation(EndTask.class).ifOutcome().length==0 ); if ( simpleEnd ) String[] outcomes = method.getAnnotation(End.class).ifOutcome(); if ( Arrays.asList(outcomes).contains(result) )
@Override @End public String back() { return "back"; }
/** * {@inheritDoc} */ @End public String back() { if (null != this.selectedTrustDomain) { return "back_trustdomain"; } return "back"; }
@End public String reset() { return null; }
@End public void reset() { }
@Override @End(beforeRedirect = true) public String exitWizard() { return navigationContext.navigateToDocument(navigationContext.getCurrentDocument()); }
/** * {@inheritDoc} */ @End public String back() { trustDomainListFactory(); virtualTrustDomainListFactory(); return "back"; }
/** * {@inheritDoc} */ @End @Admin public String saveInfoMessage() { this.log.debug("save info message for language=#0", this.language); this.configurationService.saveText( TrustServiceConstants.INFO_MESSAGE_KEY, new Locale( this.language), this.informationMessage); return "success"; }
@Override @End public String save() { this.log.debug("save RP: #0", this.selectedRP.getName()); this.rpService.save(this.selectedRP); rpListFactory(); return "success"; }
@Override @End public String remove() { this.log.debug("remove RP: #0", this.selectedRP.getName()); this.rpService.remove(this.selectedRP); rpListFactory(); return "success"; }
/** * {@inheritDoc} */ @Override @End public String remove() { this.log.debug("remove RP: #0", this.selectedRP.getName()); this.rpService.remove(this.selectedRP); rpListFactory(); return "success"; }
/** * {@inheritDoc} */ @End @Admin public String saveNetworkConfig() { this.log.debug( "save network config: proxyHost=#0 proxyPort=#1 enabled=#2", this.proxyHost, this.proxyPort, this.proxyEnabled); this.configurationService.saveNetworkConfig(proxyHost, proxyPort, proxyEnabled); this.selectedTab = ConfigurationTab.tab_network.name(); return "success"; }
/** * {@inheritDoc} */ @End @Admin public String remove() { this.log.debug("remove: #0", this.selectedTrustDomain.getName()); this.trustDomainService.removeTrustDomain(this.selectedTrustDomain); trustDomainListFactory(); return "success"; }
/** * {@inheritDoc} */ @End @Admin public String save() { if (null != this.selectedTrustDomain) { this.selectedTrustDomain.setUseCaching(this.useCaching); this.log.debug("save trust domain: #0 ", this.selectedTrustDomain.getName()); this.trustDomainService.save(selectedTrustDomain); } return "save"; }
/** * {@inheritDoc} */ @End @Admin public String removeVirtual() { this.log.debug("remove virtual: #0", this.selectedVirtualTrustDomain.getName()); this.trustDomainService .removeVirtualTrustDomain(this.selectedVirtualTrustDomain); virtualTrustDomainListFactory(); return "success"; }
@Override @End public String createWorkspace() { String navResult = null;
/** * {@inheritDoc} */ @End @Admin public String remove() { this.log.debug("remove trust point: #0", this.selectedTrustPoint.getName()); this.trustDomainService.removeTrustPoint(this.selectedTrustPoint); this.selectedTrustPoint = null; trustPointListFactory(); if (null != this.selectedTrustDomain) { return "success_trustdomain"; } return "success"; }
/** * {@inheritDoc} */ @End @Admin public String save() { if (null != this.selectedTrustPoint) { this.selectedTrustPoint .setCrlRefreshCronSchedule(this.crlRefreshCronSchedule); this.log.debug("save trust point: #0", this.selectedTrustPoint.getName()); try { this.trustDomainService.save(this.selectedTrustPoint); } catch (InvalidCronExpressionException e) { this.facesMessages.addToControlFromResourceBundle( "cronSchedule", StatusMessage.Severity.ERROR, "errorCronExpressionInvalid"); return null; } this.crlRefreshCronSchedule = null; } if (null != this.selectedTrustDomain) { return "success_trustdomain"; } return "success"; }
/** * {@inheritDoc} */ @End @Admin public String saveWSSecurityConfig() { this.log.debug("save ws security config: signing=#0 type=#1, path=#2 " + "store pw=#3 entry pw=#4 alias=#5", this.wsSecuritySigning, this.wsSecurityKeyStoreType, this.wsSecurityKeyStorePath, this.wsSecurityKeyStorePassword, this.wsSecurityKeyEntryPassword, this.wsSecurityAlias); try { this.configurationService.saveWSSecurityConfig( this.wsSecuritySigning, KeyStoreType.valueOf(this.wsSecurityKeyStoreType), this.wsSecurityKeyStorePath, this.wsSecurityKeyStorePassword, this.wsSecurityKeyEntryPassword, this.wsSecurityAlias); } catch (KeyStoreLoadException e) { this.facesMessages.addToControlFromResourceBundle("wssec_path", StatusMessage.Severity.ERROR, "errorLoadKeyStore", e.getMessage()); return null; } this.selectedTab = ConfigurationTab.tab_wssec.name(); return "success"; }