Package org.jboss.security.plugins.auth.JaasSecurityManagerBase

Examples of org.jboss.security.plugins.auth.JaasSecurityManagerBase.DomainInfo.release()


         synchronized (principal.getName().intern())
         {
            if (cacheInfo != null)
            {
               isValid = validateCache(cacheInfo, credential, activeSubject);
               cacheInfo.release();
            }
            if (isValid == false)
               isValid = authenticate(principal, credential, activeSubject);
         }
      }
View Full Code Here


         }
      }
      else
      {
         if (cacheInfo != null)
            cacheInfo.release();
         isValid = authenticate(principal, credential, activeSubject);
      }
      if (trace)
         log.trace("End isValid, " + isValid);
      return isValid;
View Full Code Here

         {
            result = info.callerPrincipal;
            // If the mapping did not have a callerPrincipal just use principal
            if (result == null)
               result = principal;
            info.release();
         }
      }

      return result;
   }
View Full Code Here

         synchronized (principal.getName().intern())
         {
            if (cacheInfo != null)
            {
               isValid = validateCache(cacheInfo, credential, activeSubject);
               cacheInfo.release();
            }
            if (isValid == false)
               isValid = authenticate(principal, credential, activeSubject);
         }
      }
View Full Code Here

         }
      }
      else
      {
         if (cacheInfo != null)
            cacheInfo.release();
         isValid = authenticate(principal, credential, activeSubject);
      }
      if (trace)
         log.trace("End isValid, " + isValid);
      return isValid;
View Full Code Here

         {
            result = info.callerPrincipal;
            // If the mapping did not have a callerPrincipal just use principal
            if (result == null)
               result = principal;
            info.release();
         }
      }

      return result;
   }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.