Package de.iritgo.aktera.permissions.security

Examples of de.iritgo.aktera.permissions.security.Principal


    {
      return true;
    }

    loadAclForUser(userName);
    Principal principal = (Principal) principals.get(userName);
    if (principal == null)
    {
      return false;
    }
View Full Code Here


    {
      return true;
    }

    loadAclForUser(userName);
    Principal principal = (Principal) principals.get(userName);
    if (principal == null)
    {
      return false;
    }
View Full Code Here

   *
   * @param userName The user name which acl's should be loaded.
   */
  protected synchronized void loadAclForUser(String userName)
  {
    Principal principal = (Principal) principals.get(userName);
    if (principal != null)
    {
      return;
    }

    AkteraUser akteraUser = userDAO.findUserByName(userName);
    if (akteraUser == null)
    {
      return;
    }

    principal = new Principal(userName);
    principals.put(userName, principal);

    try
    {
      for (AkteraGroup akteraGroup : userDAO.findGroupsByUser(akteraUser))
View Full Code Here

   */
  public synchronized void clear()
  {
    principals = new HashMap<String, Principal>();
    groups = new HashMap<String, Group>();
    ROOT = new Principal("root");
    aclByDomainObject.clear();
  }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.permissions.security.Principal

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.