Package org.jboss.web.tomcat.service.sso.spi

Examples of org.jboss.web.tomcat.service.sso.spi.SSOCredentials


    JBossSingleSignOnEntry sso = localLookup(ssoId);
      // If we don't have one locally and there is a cluster,
      // query the cluster for the SSO
      if (sso == null && ssoClusterManager != null)
      {
         SSOCredentials credentials = ssoClusterManager.lookup(ssoId);
         if (credentials != null)
         {
            sso = new JBossSingleSignOnEntry(null, credentials.getAuthType(),
                                             credentials.getUsername(),
                                             credentials.getPassword());
            // Store it locally
            synchronized (cache)
            {
               cache.put(ssoId, sso);
            }
View Full Code Here


      if (!checkTreeCacheAvailable())
      {
         return null;
      }

      SSOCredentials credentials = null;
      // Find the latest credential info from the cluster
      Fqn<String> fqn = getCredentialsFqn(ssoId);
      try
      {        
         credentials = (SSOCredentials) getFromTreeCache(fqn, KEY);
View Full Code Here

         log.trace("received a credentials modified message for SSO " + ssoId);
      }

      try
      {
         SSOCredentials data = (SSOCredentials) nodeData.get(KEY);
         if (data != null)
         {
            ssoValve.remoteUpdate(ssoId, data);
         }
      }
View Full Code Here

    * @param password the password (if any) used for the authentication
    */
   private void storeSSOData(String ssoId, String authType, String username,
      String password)
   {
      SSOCredentials data = new SSOCredentials(authType, username, password);
     
      // Add this SSO to our list of in-process local adds so
      // this.nodeModified() will ignore the addition
      beingLocallyAdded.set(ssoId);
     
View Full Code Here

      if (!checkTreeCacheAvailable())
      {
         return null;
      }

      SSOCredentials credentials = null;
      // Find the latest credential info from the cluster
      Fqn<String> fqn = getCredentialsFqn(ssoId);
      try
      {        
         credentials = (SSOCredentials) getFromTreeCache(fqn, KEY);
View Full Code Here

         log.trace("received a credentials modified message for SSO " + ssoId);
      }

      try
      {
         SSOCredentials data = (SSOCredentials) nodeData.get(KEY);
         if (data != null)
         {
            ssoValve.remoteUpdate(ssoId, data);
         }
      }
View Full Code Here

    * @param password the password (if any) used for the authentication
    */
   private void storeSSOData(String ssoId, String authType, String username,
      String password)
   {
      SSOCredentials data = new SSOCredentials(authType, username, password);
     
      // Add this SSO to our list of in-process local adds so
      // this.nodeModified() will ignore the addition
      beingLocallyAdded.set(ssoId);
     
View Full Code Here

    JBossSingleSignOnEntry sso = localLookup(ssoId);
      // If we don't have one locally and there is a cluster,
      // query the cluster for the SSO
      if (sso == null && ssoClusterManager != null)
      {
         SSOCredentials credentials = ssoClusterManager.lookup(ssoId);
         if (credentials != null)
         {
            sso = new JBossSingleSignOnEntry(null, credentials.getAuthType(),
                                             credentials.getUsername(),
                                             credentials.getPassword());
            // Store it locally
            synchronized (cache)
            {
               cache.put(ssoId, sso);
            }
View Full Code Here

    * @param username the username (if any) used for the authentication
    * @param password the password (if any) used for the authentication
    */
   private void storeCredentials(String ssoId, String authType, String username, String password)
   {
      SSOCredentials credentials = new SSOCredentials(authType, username, password);

      // Add this SSO to our list of in-process local adds so
      // this.nodeModified() will ignore the addition
      beingLocallyAdded.set(ssoId);

View Full Code Here

      if (!checkTreeCacheAvailable())
      {
         return null;
      }

      SSOCredentials credentials = null;
      // Find the latest credential info from the cluster
      Fqn fqn = getCredentialsFqn(ssoId);
      try
      {        
         credentials = (SSOCredentials) getFromTreeCache(fqn, KEY);
View Full Code Here

TOP

Related Classes of org.jboss.web.tomcat.service.sso.spi.SSOCredentials

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.