org.qi4j.library.shiro.authc
Class X509AuthenticationToken

java.lang.Object
  extended by org.qi4j.library.shiro.authc.X509AuthenticationToken
All Implemented Interfaces:
Serializable, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.HostAuthenticationToken

public class X509AuthenticationToken
extends Object
implements org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.HostAuthenticationToken

See Also:
Serialized Form

Constructor Summary
X509AuthenticationToken(X509Certificate[] clientX509CertChain, String host)
           
 
Method Summary
 org.bouncycastle.x509.X509Store getClientCertChainStore()
           
 X509Certificate getClientX509Certificate()
           
 org.bouncycastle.x509.X509CertStoreSelector getClientX509CertSelector()
           
 Object getCredentials()
           
 String getHost()
           
 Object getPrincipal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509AuthenticationToken

public X509AuthenticationToken(X509Certificate[] clientX509CertChain,
                               String host)
Method Detail

getClientX509Certificate

public X509Certificate getClientX509Certificate()

getClientX509CertSelector

public org.bouncycastle.x509.X509CertStoreSelector getClientX509CertSelector()

getClientCertChainStore

public org.bouncycastle.x509.X509Store getClientCertChainStore()

getPrincipal

public Object getPrincipal()
Specified by:
getPrincipal in interface org.apache.shiro.authc.AuthenticationToken

getCredentials

public Object getCredentials()
Specified by:
getCredentials in interface org.apache.shiro.authc.AuthenticationToken

getHost

public String getHost()
Specified by:
getHost in interface org.apache.shiro.authc.HostAuthenticationToken