|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.gae.auth.GAuthJksLoader
public class GAuthJksLoader
A Java keystore specific key loader.
Constructor Summary | |
---|---|
GAuthJksLoader()
|
|
GAuthJksLoader(org.springframework.core.io.Resource keyStoreLocation,
String storePass,
String keyPass,
String keyAlias)
|
Method Summary | |
---|---|
PrivateKey |
loadPrivateKey()
Loads a private key from a Java keystore depending on this loader's properties. |
void |
setKeyAlias(String keyAlias)
Sets the alias of the key to be loaded. |
void |
setKeyPass(String keyPass)
Sets the password used to get access to a specific key. |
void |
setKeyStoreLocation(org.springframework.core.io.Resource keyStoreLocation)
Set the location of the Java keystore. |
void |
setStorePass(String storePass)
Sets the password used to open the key store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GAuthJksLoader()
public GAuthJksLoader(org.springframework.core.io.Resource keyStoreLocation, String storePass, String keyPass, String keyAlias)
Method Detail |
---|
public void setKeyStoreLocation(org.springframework.core.io.Resource keyStoreLocation)
keyStoreLocation
- public void setStorePass(String storePass)
storePass
- public void setKeyPass(String keyPass)
keyPass
- public void setKeyAlias(String keyAlias)
keyAlias
- public PrivateKey loadPrivateKey() throws Exception
loadPrivateKey
in interface GAuthKeyLoader
Exception
- if key loading failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |