Package com.dbxml.db.core.security

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


   public static Database getInstance() {
      return database;
   }

   public void setConfig(Configuration config) throws dbXMLException {
      magicUser = new User();
      userStack = new UserStack();

      try {
         userStack.pushCurrentUser(magicUser);
View Full Code Here


      else
         throw new SecurityException(FaultCodes.SEC_INVALID_ACCESS, "Can't overwrite User Stack");
   }

   public String getCurrentUserID() {
      User user = userStack.getCurrentUser();
      if ( user != null )
         return user.getId();
      else
         return null;
   }
View Full Code Here

TOP

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

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.