org.apache.activemq.security
Class JaasCertificateSecurityContext
java.lang.Object
org.apache.activemq.security.SecurityContext
org.apache.activemq.security.JaasCertificateSecurityContext
public class JaasCertificateSecurityContext
- extends SecurityContext
Extends the SecurityContext to provide a username which is the
Distinguished Name from the certificate.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasCertificateSecurityContext
public JaasCertificateSecurityContext(String userName,
Subject subject,
X509Certificate[] certs)
getPrincipals
public Set<Principal> getPrincipals()
- Specified by:
getPrincipals
in class SecurityContext
getUserName
public String getUserName()
- Overrides:
getUserName
in class SecurityContext
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.