// 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;
}