Interface CertificateCreationBean
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CertificateCreationBeanImpl
public interface CertificateCreationBean extends Serializable
Common interface for interacting with the certificate creation process via the certificate creation wizard (dialog).- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CertificateCreationBeangetInstance()Returns an instance of theCertificateCreationBeanusing CDI.booleanstartCertificateCreation(CertificateCreateStartParams params)Starts the certificate creation process with the given parameters.
-
-
-
Method Detail
-
getInstance
static CertificateCreationBean 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
boolean startCertificateCreation(CertificateCreateStartParams params)
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.
-
-