/** * Logout the user. * * <p> This method removes the <code>PrincipalImpl</code> * that was added by the <code>commit</code> method. * * <p> * * @exception LoginException if the logout fails. * * @return true in all cases since this <code>LoginModule</code> * should not be ignored. */ public boolean logout() throws LoginException { // unset the alias ssl = null; sslUtils.setAppclientSsl(ssl); subject.getPrincipals().remove(userPrincipal); succeeded = false; succeeded = commitSucceeded; alias = null; userPrincipal = null; return true; }
/** * Logout the user. * * <p> This method removes the <code>PrincipalImpl</code> * that was added by the <code>commit</code> method. * * <p> * * @exception LoginException if the logout fails. * * @return true in all cases since this <code>LoginModule</code> * should not be ignored. */ public boolean logout() throws LoginException { // unset the alias ssl = null; sslUtils.setAppclientSsl(ssl); subject.getPrincipals().remove(userPrincipal); succeeded = false; commitSucceeded = false; alias = null; userPrincipal = null; return true; }
sslUtils.setAppclientSsl(ssl);
sslUtils.setAppclientSsl(ssl);
private void setSSLData(List<TargetServer> tServers) { try { // Set the SSL related properties for ORB TargetServer tServer = tServers.get(0); // TargetServer is required. //temp solution to target-server+ change in DTD // assuming that multiple servers can be specified but only 1st // first one will be used. Security security = tServer.getSecurity(); if (security == null) { _logger.fine("No Security input set in ClientContainer.xml"); // do nothing return; } Ssl ssl = security.getSsl(); if (ssl == null) { _logger.fine("No SSL input set in ClientContainer.xml"); // do nothing return; } //XXX do not use NSS in this release //CertDb certDB = security.getCertDb(); sslUtils.setAppclientSsl(convert(ssl)); this.appClientSSLUtil.setAppClientSSL(convert(ssl)); } catch (Exception ex) { } }