KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > net > axis > security > SecurityConstants


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  *
7  * Created on Feb 5, 2004
8  */

9 package org.jboss.net.axis.security;
10
11 import javax.xml.namespace.QName JavaDoc;
12
13 import org.apache.ws.security.WSConstants;
14
15 /**
16  * <dl>
17  * <dt><b>Title: </b><dd>Security Constants</dd>
18  * <p>
19  * <dt><b>Description: </b><dd>Constants used by the WSSecurity handlers</dd>
20  * <p>
21  * </dl>
22  * @author <a HREF="mailto:jasone@greenrivercomputing.com">Jason Essington</a>
23  * @version $Revision: 1.1 $
24  */

25 public interface SecurityConstants
26 {
27    /** Configuration prameter for the {@link org.jboss.net.axis.security.handler.WSSRequestHandler} and
28     * {@link org.jboss.net.axis.security.handler.WSSResponseHandler} used to define the jndi name of the
29     * {@link org.jboss.security.SecurityDomain} that will be serving the handlers.*/

30    public static final String JavaDoc HANDLER_SEC_DOMAIN = "securityDomain";
31
32    /**
33     * Configuration prameter for the {@link org.jboss.net.axis.security.handler.WSSRequestHandler} and
34     * {@link org.jboss.net.axis.security.handler.WSSResponseHandler} used to define the
35     * {@link org.jboss.net.axis.security.JBossCrypto} implementation that should be used by the handlers.
36     */

37    public static final String JavaDoc HANDLER_CRYPTO_CLASS = "cryptoImplementation";
38
39    public static final QName JavaDoc SECURITY_HEADER_QNAME = new QName JavaDoc(WSConstants.WSSE_NS, WSConstants.WSSE_LN);
40
41    /**
42     * Map of Keystore aliases that were used to sign the incoming request.
43     * The map key is the actor/role and the value is the Keystore alias of the certificate used to sign.
44     */

45    public static final String JavaDoc MC_REQ_SIGNERS = "security.request.signers";
46 }
47
Popular Tags