1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.wss4j.stax.securityToken;
20
21 import org.apache.xml.security.stax.securityToken.SecurityTokenConstants;
22
23 public class WSSecurityTokenConstants extends SecurityTokenConstants {
24
25 public static final TokenUsage TOKENUSAGE_MAIN_SIGNATURE = new TokenUsage("MainSignature");
26 public static final TokenUsage TOKENUSAGE_MAIN_ENCRYPTION = new TokenUsage("MainEncryption");
27 public static final TokenUsage TOKENUSAGE_SUPPORTING_TOKENS = new TokenUsage("SupportingTokens");
28 public static final TokenUsage TOKENUSAGE_SIGNED_SUPPORTING_TOKENS = new TokenUsage("SignedSupportingTokens");
29 public static final TokenUsage TOKENUSAGE_ENDORSING_SUPPORTING_TOKENS =
30 new TokenUsage("EndorsingSupportingTokens");
31 public static final TokenUsage TOKENUSAGE_SIGNED_ENDORSING_SUPPORTING_TOKENS =
32 new TokenUsage("SignedEndorsingSupportingTokens");
33 public static final TokenUsage TOKENUSAGE_SIGNED_ENCRYPTED_SUPPORTING_TOKENS =
34 new TokenUsage("SignedEncryptedSupportingTokens");
35 public static final TokenUsage TOKENUSAGE_ENCRYPTED_SUPPORTING_TOKENS =
36 new TokenUsage("EncryptedSupportingTokens");
37 public static final TokenUsage TOKENUSAGE_ENDORSING_ENCRYPTED_SUPPORTING_TOKENS =
38 new TokenUsage("EndorsingEncryptedSupportingTokens");
39 public static final TokenUsage TOKENUSAGE_SIGNED_ENDORSING_ENCRYPTED_SUPPORTING_TOKENS =
40 new TokenUsage("SignedEndorsingEncryptedSupportingTokens");
41
42 public static final KeyIdentifier KEYIDENTIFIER_SECURITY_TOKEN_DIRECT_REFERENCE =
43 new KeyIdentifier("SecurityTokenDirectReference");
44 public static final KeyIdentifier KEYIDENTIFIER_THUMBPRINT_IDENTIFIER =
45 new KeyIdentifier("ThumbprintIdentifier");
46 public static final KeyIdentifier KEYIDENTIFIER_ENCRYPTED_KEY_SHA1_IDENTIFIER =
47 new KeyIdentifier("EncryptedKeySha1Identifier");
48 public static final KeyIdentifier KEYIDENTIFIER_KERBEROS_SHA1_IDENTIFIER =
49 new KeyIdentifier("KerberosSha1Identifier");
50 public static final KeyIdentifier KEYIDENTIFIER_EMBEDDED_KEY_IDENTIFIER_REF =
51 new KeyIdentifier("EmbeddedKeyIdentifierRef");
52 public static final KeyIdentifier KEYIDENTIFIER_USERNAME_TOKEN_REFERENCE =
53 new KeyIdentifier("UsernameTokenReference");
54 public static final KeyIdentifier KEYIDENTIFIER_EXTERNAL_REFERENCE =
55 new KeyIdentifier("ExternalReference");
56
57 public static final TokenType USERNAME_TOKEN = new TokenType("UsernameToken");
58 public static final TokenType SECURITY_CONTEXT_TOKEN = new TokenType("SecurityContextToken");
59 public static final TokenType SAML_10_TOKEN = new TokenType("Saml10Token");
60 public static final TokenType SAML_11_TOKEN = new TokenType("Saml11Token");
61 public static final TokenType SAML_20_TOKEN = new TokenType("Saml20Token");
62 public static final TokenType ISSUED_TOKEN = new TokenType("IssuedToken");
63 public static final TokenType SECURE_CONVERSATION_TOKEN = new TokenType("SecureConversationToken");
64 public static final TokenType HTTPS_TOKEN = new TokenType("HttpsToken");
65 public static final TokenType KERBEROS_TOKEN = new TokenType("KerberosToken");
66 public static final TokenType SPNEGO_CONTEXT_TOKEN = new TokenType("SpnegoContextToken");
67 public static final TokenType REL_TOKEN = new TokenType("RelToken");
68 }