public class CertKeyCredential extends Object implements SecurityObjectWrapper<X509Credential>, Storable, CredentialWrapper
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.io.Resource |
certFile |
protected org.springframework.core.io.Resource |
keyFile |
| Constructor and Description |
|---|
CertKeyCredential(org.springframework.core.io.Resource certResource,
org.springframework.core.io.Resource keyResource) |
CertKeyCredential(org.springframework.core.io.Resource certResource,
org.springframework.core.io.Resource keyResource,
X509Credential credential) |
| Modifier and Type | Method and Description |
|---|---|
protected X509Credential |
createObject(org.springframework.core.io.Resource certSource,
org.springframework.core.io.Resource keySource) |
String |
getAlias() |
org.springframework.core.io.Resource |
getCertificateFile() |
X509Credential |
getCredential() |
org.springframework.core.io.Resource |
getKeyFile() |
X509Credential |
getSecurityObject() |
boolean |
hasChanged() |
protected void |
init(org.springframework.core.io.Resource initCertResource,
org.springframework.core.io.Resource initKeyResource) |
protected void |
init(org.springframework.core.io.Resource initCertFile,
org.springframework.core.io.Resource keyResource,
X509Credential initCredential) |
void |
refresh() |
void |
store() |
protected org.springframework.core.io.Resource certFile
protected org.springframework.core.io.Resource keyFile
public CertKeyCredential(org.springframework.core.io.Resource certResource,
org.springframework.core.io.Resource keyResource)
throws ResourceStoreException
ResourceStoreExceptionpublic CertKeyCredential(org.springframework.core.io.Resource certResource,
org.springframework.core.io.Resource keyResource,
X509Credential credential)
throws ResourceStoreException
ResourceStoreExceptionprotected void init(org.springframework.core.io.Resource initCertResource,
org.springframework.core.io.Resource initKeyResource)
throws ResourceStoreException
ResourceStoreExceptionprotected void init(org.springframework.core.io.Resource initCertFile,
org.springframework.core.io.Resource keyResource,
X509Credential initCredential)
throws ResourceStoreException
ResourceStoreExceptionpublic void refresh()
throws ResourceStoreException
refresh in interface SecurityObjectWrapper<X509Credential>ResourceStoreExceptionpublic org.springframework.core.io.Resource getCertificateFile()
public org.springframework.core.io.Resource getKeyFile()
protected X509Credential createObject(org.springframework.core.io.Resource certSource, org.springframework.core.io.Resource keySource) throws ResourceStoreException
ResourceStoreExceptionpublic X509Credential getSecurityObject() throws ResourceStoreException
getSecurityObject in interface SecurityObjectWrapper<X509Credential>ResourceStoreExceptionpublic boolean hasChanged()
hasChanged in interface SecurityObjectWrapper<X509Credential>public X509Credential getCredential() throws ResourceStoreException
getCredential in interface CredentialWrapperResourceStoreExceptionpublic void store()
throws ResourceStoreException
store in interface StorableResourceStoreExceptionpublic String getAlias()
getAlias in interface SecurityObjectWrapper<X509Credential>Copyright © 2012. All Rights Reserved.