tokentypes.java
来自「oasis发布的web services security规范中的ws-trus」· Java 代码 · 共 34 行
JAVA
34 行
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 + =
减小字号Ctrl + -
显示快捷键?