Examples of AdminInformation


Examples of org.ejbca.core.model.authorization.AdminInformation

    // Method that takes the internal data and returns a AdminInformation object required by the Authorization module.
    public AdminInformation getAdminInformation() {
      if (adminInformation==null) {
            if (type == TYPE_CLIENTCERT_USER) {
              adminInformation = new AdminInformation(certificate, authToken);
            } else {
              adminInformation = new AdminInformation(ADMINTYPETOADMINENTITY[type], authToken);
            }
      }
        return adminInformation;
    }
View Full Code Here

Examples of org.ejbca.core.model.authorization.AdminInformation

    super(certificate, username, email);
    this.type = TYPE_CLIENTCERT_USER;
  }

  public AdminInformation getAdminInformation() {   
    return new AdminInformation(AdminEntity.SPECIALADMIN_INTERNALUSER, authToken);
  }
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.