Class ManageCertificateAction

java.lang.Object
org.gluu.oxtrust.action.ManageCertificateAction
All Implemented Interfaces:
Serializable

@ConversationScoped @Named @Secure("#{permissionService.hasPermission(\'configuration\', \'access\')}") public class ManageCertificateAction extends Object implements Serializable
Manages SSL certificates
Author:
Oleksiy Tataryn, Yuriy Movchan Date: 03/03/2014
See Also:
  • Constructor Details

    • ManageCertificateAction

      public ManageCertificateAction()
  • Method Details

    • init

      public String init()
    • getCert

      public void getCert(String fileName)
      Fills issuer and subject maps with data about currently selected certificate
    • getCert

      public void getCert(TrustStoreCertificate trustStoreCertificate)
      Fills issuer and subject maps with data about currently selected certificate
    • generateCSR

      public String generateCSR(String fileName) throws IOException
      Throws:
      IOException
    • compare

      public boolean compare(String fileName)
    • certPresent

      public boolean certPresent(String filename)
    • getIdpCertFN

      public String getIdpCertFN()
    • getTomcatCertFN

      public String getTomcatCertFN()
    • getTempCertDir

      public String getTempCertDir()
    • getIssuer

      public HashMap<String,String> getIssuer()
    • getSubject

      public HashMap<String,String> getSubject()
    • setUploadMarker

      public void setUploadMarker(String uploadMarker)
    • setUploadMarker

      public void setUploadMarker(TrustStoreCertificate trustStoreCertificate)
    • update

      public String update()
    • cancel

      public void cancel()
    • addPublicCertificate

      public void addPublicCertificate()
    • removePublicCertificate

      public void removePublicCertificate(TrustStoreCertificate removeTrustStoreCertificate)
    • isInitialized

      public boolean isInitialized()
    • isCertsManagePossible

      public boolean isCertsManagePossible()
    • getTrustStoreConfiguration

      public TrustStoreConfiguration getTrustStoreConfiguration()
    • getTrustStoreCertificates

      public List<TrustStoreCertificate> getTrustStoreCertificates()