Package com.dbxml.db.core.security

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


      password = config.getAttribute(PASSWORD);
   }

   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.InvalidUserException

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.