Tabnine Logo
SSLUtils.setAppclientSsl
Code IndexAdd Tabnine to your IDE (free)

How to use
setAppclientSsl
method
in
com.sun.enterprise.security.ssl.SSLUtils

Best Java code snippets using com.sun.enterprise.security.ssl.SSLUtils.setAppclientSsl (Showing top 5 results out of 315)

origin: org.glassfish.security/security

/**
 * 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;
}
origin: org.glassfish.main.security/security

/**
 * 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;
}
origin: org.glassfish.main.security/security

sslUtils.setAppclientSsl(ssl);
origin: org.glassfish.security/security

sslUtils.setAppclientSsl(ssl);
origin: org.glassfish.main.security/appclient.security

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) {
  }
}
com.sun.enterprise.security.sslSSLUtilssetAppclientSsl

Popular methods of SSLUtils

  • getKeyManagers
  • getTrustManagers
  • <init>
  • checkPermission
  • getKeyStores
  • getSupportedCipherSuites
  • getTrustStores
  • mergingTrustStores
  • postConstruct
  • getAdminSSLContext
  • getAdminSocketFactory
  • getKeyStore
  • getAdminSocketFactory,
  • getKeyStore,
  • getMergedTrustStore,
  • getPrivateKeyEntryFromTokenAlias,
  • getSSLContext,
  • getTrustStore,
  • verifyMasterPassword,
  • checkCertificateDates,
  • getKeyStorePass

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • String (java.lang)
  • Path (java.nio.file)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now