Interface CertificateCreationBean
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CertificateCreationBeanImpl
Common interface for interacting with the certificate creation process via the certificate creation wizard (dialog).
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateCreationBeanReturns an instance of theCertificateCreationBeanusing CDI.booleanStarts the certificate creation process with the given parameters.
-
Method Details
-
getInstance
Returns an instance of theCertificateCreationBeanusing CDI.This method should be used with caution, as it relies on CDI and works only during JSF lifecycle phases, where there is a
FacesContextavailable.- Returns:
- An instance of
CertificateCreationBean. - Throws:
javax.enterprise.context.ContextNotActiveException- if called outside a JSF context.
-
startCertificateCreation
Starts the certificate creation process with the given parameters. Opens the certificate creation dialog.If there are errors during the creation process, they will be shown in the UI.
- Parameters:
params- The parameters for starting the certificate creation process.- Returns:
trueif the creation process was started successfully,falseotherwise.
-