Package net.webpdf.wsclient.openapi
Class AdminGlobalKeyStore
- java.lang.Object
-
- net.webpdf.wsclient.openapi.AdminGlobalKeyStore
-
public class AdminGlobalKeyStore extends Object
Lists all contents of the keystore (e.g. it´s certificates and raw data), that shall be set as the server´s global user certificate keystore. - This keystore shall not be bound to a specific webservice and hence shall serve as the server´s \"global\" keystore file. - The means to provide certificates on a per user basis and in a more selective fashion, can be found in the \"server.xml\" user storage settings, which allow placing such certificates for a specific authenticated user, from Your LDAP or a user database instead. - Further settings concerning this keystore (such as it´s password and type) can be found in the application config itself. The hereby given definition is only concerned with describing and setting up the actual keystore file and it´s contained certificates.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CERTIFICATESstatic StringJSON_PROPERTY_KEY_STORE_CONTENT
-
Constructor Summary
Constructors Constructor Description AdminGlobalKeyStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminGlobalKeyStoreaddCertificatesItem(CertificateEntry certificatesItem)AdminGlobalKeyStorecertificates(List<CertificateEntry> certificates)booleanequals(Object o)@Nullable List<CertificateEntry>getCertificates()Defines the certificates contained in the keystore.@Nullable StringgetKeyStoreContent()The raw BASE64 encoded contents of a keystore file.inthashCode()AdminGlobalKeyStorekeyStoreContent(String keyStoreContent)voidsetCertificates(List<CertificateEntry> certificates)voidsetKeyStoreContent(String keyStoreContent)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CERTIFICATES
public static final String JSON_PROPERTY_CERTIFICATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY_STORE_CONTENT
public static final String JSON_PROPERTY_KEY_STORE_CONTENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
certificates
public AdminGlobalKeyStore certificates(List<CertificateEntry> certificates)
-
addCertificatesItem
public AdminGlobalKeyStore addCertificatesItem(CertificateEntry certificatesItem)
-
getCertificates
@Nullable public @Nullable List<CertificateEntry> getCertificates()
Defines the certificates contained in the keystore.- Returns:
- certificates
-
setCertificates
public void setCertificates(List<CertificateEntry> certificates)
-
keyStoreContent
public AdminGlobalKeyStore keyStoreContent(String keyStoreContent)
-
getKeyStoreContent
@Nullable public @Nullable String getKeyStoreContent()
The raw BASE64 encoded contents of a keystore file.- Returns:
- keyStoreContent
-
setKeyStoreContent
public void setKeyStoreContent(String keyStoreContent)
-
-