Examples of IAuthMethod


Examples of com.subgraph.vega.api.model.identity.IAuthMethod

    return IMAGE_PATH;
  }

  @Override
  public boolean hasChildren() {
    IAuthMethod authMethodUpdt = identity.getAuthMethod();
    if (authMethodUpdt != authMethod) {
      if (childrenList == null) {
        childrenList = new ArrayList<IIdentityTreeNode>();
      } else {
        childrenList.clear();
View Full Code Here

Examples of com.subgraph.vega.api.model.identity.IAuthMethod

 
  // temporary: in the future this will be managed with session handling rules
  private boolean handleMacroAuthentication() {
    IIdentity identity = scan.getConfig().getScanIdentity();
    if (identity != null) {
      IAuthMethod authMethod = identity.getAuthMethod();
      if (authMethod != null && authMethod.getType() == IAuthMethod.AuthMethodType.AUTH_METHOD_HTTP_MACRO) {
        logger.info("Pre-authenticating using an HTTP macro");
        IAuthMethodHttpMacro authMethodMacro = (IAuthMethodHttpMacro)authMethod;
        IHttpMacroContext context = scan.getRequestEngine().createMacroContext();
        context.setDict(identity.getDict());
        IHttpMacroExecutor executor = scan.getRequestEngine().createMacroExecutor(authMethodMacro.getMacro(), 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.