Package com.dbxml.db.core.security

Examples of com.dbxml.db.core.security.InvalidCredentialsException


   public void authenticate(String userID, String password) throws SecurityException {
      if ( !this.userID.equals(userID) )
         throw new InvalidUserException("Unknown User '"+userID+"'");
      if ( !this.password.equals(password) )
         throw new InvalidCredentialsException("Invalid credentials for User '"+userID+"'");
   }
View Full Code Here

TOP

Related Classes of com.dbxml.db.core.security.InvalidCredentialsException

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.