Package org.cipango.kaleo.policy

Examples of org.cipango.kaleo.policy.IdentityType


  private boolean match(ConditionsType conditions, String subscriberAor, String domain)
  {
    boolean matchIdentity = conditions.getIdentityArray().length == 0;
    for (int i = 0; i < conditions.getIdentityArray().length; i++)
    {
      IdentityType identity = conditions.getIdentityArray(i);
      for (int j = 0; j < identity.getOneArray().length; j++)
        if (identity.getOneArray(j).getId().equals(subscriberAor))
          matchIdentity = true;
      for (int j = 0; j < identity.getManyArray().length; j++)
      {
        ManyType manyType = identity.getManyArray(j);
        if (manyType.getDomain().equals(domain))
        {
          boolean match = true;
          for (int k = 0; k < manyType.getExceptArray().length; k++)
            if (manyType.getExceptArray(k).getId().equals(subscriberAor))
View Full Code Here

TOP

Related Classes of org.cipango.kaleo.policy.IdentityType

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.