You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by di...@apache.org on 2004/03/08 16:07:54 UTC

cvs commit: ws-fx/wss4j/src/org/apache/ws/security WSConstants.java

dims        2004/03/08 07:07:54

  Modified:    wss4j/src/org/apache/ws/security WSConstants.java
  Log:
  Username token profile has its own namespace.
  
  Revision  Changes    Path
  1.7       +2 -1      ws-fx/wss4j/src/org/apache/ws/security/WSConstants.java
  
  Index: WSConstants.java
  ===================================================================
  RCS file: /home/cvs/ws-fx/wss4j/src/org/apache/ws/security/WSConstants.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSConstants.java	6 Mar 2004 04:21:59 -0000	1.6
  +++ WSConstants.java	8 Mar 2004 15:07:54 -0000	1.7
  @@ -26,6 +26,7 @@
    */
   public interface WSConstants {
       public static final String WSSE_NS = "http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
  +    public static final String USERNAMETOKEN_NS = "http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0";
       public static final String WSSE_PREFIX = "wsse";
       public static final String WSSE_LN = "Security";
       public static final String WSU_NS = "http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
  @@ -99,7 +100,7 @@
   	*/
   	public static final String PW_TEXT = "PasswordText";
   
  -	public static final String PASSWORD_TEXT = WSSE_NS + "#PasswordText";
  +	public static final String PASSWORD_TEXT = USERNAMETOKEN_NS + "#PasswordText";
   
   	/**
   	 * Sets the {@link org.apache.ws.security.message.WSEncryptBody#build(Document, Crypto) encryption}