Examples of VerifierInfo


Examples of org.jboss.security.srp.SRPVerifierStore.VerifierInfo

    }

// --- Begin SRPVerifierStore interface methods
    public VerifierInfo getUserVerifier(String username) throws KeyException, IOException
    {
        VerifierInfo info = null;
        if( infoMap != null )
            info = (VerifierInfo) infoMap.get(username);
        if( info == null )
            throw new KeyException("username: "+username+" not found");
        return info;
View Full Code Here

Examples of org.jboss.security.srp.SRPVerifierStore.VerifierInfo

    }

    public void addUser(String username, String password)
    {
        log.trace("addUser, username='"+username+"', password='"+password+"'");
        VerifierInfo info = new VerifierInfo();
        info.username = username;
        /*
        long r = Util.nextLong();
        String rs = Long.toHexString(r);
         */
 
View Full Code Here

Examples of org.jboss.security.srp.SRPVerifierStore.VerifierInfo

   {
      boolean trace = log.isTraceEnabled();
      if( trace )
         log.trace("getSRPParameters, " + username);
      SRPParameters params = null;
      VerifierInfo info = null;
      try
      {
         info = verifierStore.getUserVerifier(username);
         if (info == null)
            throw new KeyException("Unknown username: " + username);
View Full Code Here

Examples of org.jboss.security.srp.SRPVerifierStore.VerifierInfo

         }
         catch(InterruptedException e)
         {
         }
      }
      VerifierInfo info = (VerifierInfo) storeMap.get(username);
      return info;
   }
View Full Code Here

Examples of org.jboss.security.srp.SRPVerifierStore.VerifierInfo

   }

   private void addUser(String username, char[] password, String cipherAlgorithm,
      String hashAlgorithm)
   {
      VerifierInfo info = new VerifierInfo();
      info.username = username;
      // Create a random salt
      long r = CryptoUtil.nextLong();
      String rs = Long.toHexString(r);
      info.salt = rs.getBytes();
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.