Package org.platformlayer.auth

Examples of org.platformlayer.auth.ServiceAccount


      cert = (X509Certificate) certificateChain[1];
    }

    UserDatabase userRepository = getContext().getUserRepository();

    ServiceAccount account = userRepository.createServiceAccount(cert);

    return account;
  }
View Full Code Here


        // certificateInfo.setPublicKeyHash(hash.toHex());

        chain.certificates.add(info);
      }

      ServiceAccount auth = systemAuthenticator.authenticate(chain);
      if (auth != null) {
        log.debug("Certificate authentication SUCCESS for " + chain);
        return;
      }
View Full Code Here

TOP

Related Classes of org.platformlayer.auth.ServiceAccount

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.