Package org.gluu.oxtrust.action
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
cancel()
boolean
certPresent
(String filename) boolean
generateCSR
(String fileName) void
Fills issuer and subject maps with data about currently selected certificatevoid
getCert
(TrustStoreCertificate trustStoreCertificate) Fills issuer and subject maps with data about currently selected certificateinit()
boolean
boolean
void
removePublicCertificate
(TrustStoreCertificate removeTrustStoreCertificate) void
setUploadMarker
(String uploadMarker) void
setUploadMarker
(TrustStoreCertificate trustStoreCertificate) update()
-
Constructor Details
-
ManageCertificateAction
public ManageCertificateAction()
-
-
Method Details
-
init
-
getCert
Fills issuer and subject maps with data about currently selected certificate -
getCert
Fills issuer and subject maps with data about currently selected certificate -
generateCSR
- Throws:
IOException
-
compare
-
certPresent
-
getIdpCertFN
-
getTomcatCertFN
-
getTempCertDir
-
getIssuer
-
getSubject
-
setUploadMarker
-
setUploadMarker
-
update
-
cancel
public void cancel() -
addPublicCertificate
public void addPublicCertificate() -
removePublicCertificate
-
isInitialized
public boolean isInitialized() -
isCertsManagePossible
public boolean isCertsManagePossible() -
getTrustStoreConfiguration
-
getTrustStoreCertificates
-