⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tokentypes.java

📁 oasis发布的web services security规范中的ws-trust规范的java实现
💻 JAVA
字号:
package edu.virginia.cs.wst;import java.net.URI;import java.net.URISyntaxException;import org.apache.ws.security.WSConstants;import org.apache.ws.security.message.token.X509Security;/** * @author ddelvecc * * A set of URI constants representing different token types defined by the WS-Security TC. These are typically used  * in the WS-Trust <TokenType> element. */public abstract class TokenTypes {	public static URI USERNAME;		private static final String x509prefix = WSConstants.X509TOKEN_NS;		public static URI X509;	public static URI X509PKIPATH;	public static URI PKCS7;		static {		try {			USERNAME = new URI(WSConstants.USERNAMETOKEN_NS + "#" + WSConstants.USERNAME_TOKEN_LN);			X509 = new URI(X509Security.TYPE);			X509PKIPATH = new URI(x509prefix + "#X509PKIPathv1");			PKCS7 = new URI(x509prefix + "#PKCS7");		}		catch (URISyntaxException e) {}	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -