|
||||||||||
| 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(String keyStoreLocation,
String storePass,
String keyPass,
String keyAlias)
|
|
| Method Summary | |
|---|---|
org.apache.camel.CamelContext |
getCamelContext()
|
PrivateKey |
loadPrivateKey()
Loads a private key from a Java keystore depending on this loader's properties. |
void |
setCamelContext(org.apache.camel.CamelContext camelContext)
|
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(String 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(String keyStoreLocation,
String storePass,
String keyPass,
String keyAlias)
| Method Detail |
|---|
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void setKeyStoreLocation(String keyStoreLocation)
public void setStorePass(String storePass)
public void setKeyPass(String keyPass)
public void setKeyAlias(String keyAlias)
public PrivateKey loadPrivateKey()
throws Exception
loadPrivateKey in interface GAuthKeyLoaderException - if key loading failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||