Examples of authorizeQuery()


Examples of com.esri.gpt.server.assertion.components.AsnAuthorizer.authorizeQuery()

   
    // query comments
    if (subjectPfx.endsWith(":assertionid") &&
        predicate.equals("urn:esri:geoportal:comment:query")) {
      Assertion assertion = this.getIndexAdapter().loadAssertionById(context,true);
      authorizer.authorizeQuery(context);
      AsnAssertionRenderer renderer = new AsnAssertionRenderer();
      AsnProperty prop = renderer.makeProperty(context,assertion);
      context.getOperationResponse().generateResponse(context,prop);
       
    } else if (subjectPfx.endsWith(":resourceid") &&
View Full Code Here

Examples of com.esri.gpt.server.assertion.components.AsnAuthorizer.authorizeQuery()

      AsnProperty prop = renderer.makeProperty(context,assertion);
      context.getOperationResponse().generateResponse(context,prop);
       
    } else if (subjectPfx.endsWith(":resourceid") &&
        predicate.equals("urn:esri:geoportal:comment:query")) {  
      authorizer.authorizeQuery(context);
      this.query(context);
       
    } else {
      throw new AsnInvalidOperationException();
    }
View Full Code Here

Examples of com.esri.gpt.server.assertion.components.AsnAuthorizer.authorizeQuery()

    // query ratings for a resource
    if (predicate.equals("urn:esri:geoportal:rating:query")) {
      if (!operation.getSubject().isType(AsnConstants.SUBJECT_PREFIX_RESOURCEID)) {
        throw new AsnInvalidOperationException();
      }
      authorizer.authorizeQuery(context);
      this.query(context);
    }
  }
 
  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.