org.apache.camel.component.shiro.security
Class ShiroSecurityTokenInjector
java.lang.Object
org.apache.camel.component.shiro.security.ShiroSecurityTokenInjector
- All Implemented Interfaces:
- org.apache.camel.Processor
public class ShiroSecurityTokenInjector
- extends Object
- implements org.apache.camel.Processor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShiroSecurityTokenInjector
public ShiroSecurityTokenInjector()
ShiroSecurityTokenInjector
public ShiroSecurityTokenInjector(ShiroSecurityToken securityToken,
byte[] passPhrase)
ShiroSecurityTokenInjector
public ShiroSecurityTokenInjector(ShiroSecurityToken securityToken,
byte[] passPhrase,
org.apache.shiro.crypto.CipherService cipherService)
encrypt
public org.apache.shiro.util.ByteSource encrypt()
throws Exception
- Throws:
Exception
process
public void process(org.apache.camel.Exchange exchange)
throws Exception
- Specified by:
process
in interface org.apache.camel.Processor
- Throws:
Exception
getPassPhrase
public byte[] getPassPhrase()
setPassPhrase
public void setPassPhrase(byte[] passPhrase)
setSecurityToken
public void setSecurityToken(ShiroSecurityToken securityToken)
getSecurityToken
public ShiroSecurityToken getSecurityToken()
getCipherService
public org.apache.shiro.crypto.CipherService getCipherService()
setCipherService
public void setCipherService(org.apache.shiro.crypto.CipherService cipherService)
Apache CAMEL