[jboss-cvs] Picketlink SVN: r940 - federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 17 00:57:46 EDT 2011


Author: anil.saldhana at jboss.com
Date: 2011-05-17 00:57:46 -0400 (Tue, 17 May 2011)
New Revision: 940

Modified:
   federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustConstants.java
Log:
add constant

Modified: federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustConstants.java
===================================================================
--- federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustConstants.java	2011-05-13 09:59:13 UTC (rev 939)
+++ federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustConstants.java	2011-05-17 04:57:46 UTC (rev 940)
@@ -33,115 +33,182 @@
  */
 public interface WSTrustConstants
 {
-    String BASE_NAMESPACE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512";
-    String PREFIX = "wst";
+   String BASE_NAMESPACE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512";
 
+   String PREFIX = "wst";
+
    // WS-Trust request types
-    String BATCH_ISSUE_REQUEST = BASE_NAMESPACE + "/BatchIssue";
-    String ISSUE_REQUEST = BASE_NAMESPACE + "/Issue";
-    String RENEW_REQUEST = BASE_NAMESPACE + "/Renew";
-    String CANCEL_REQUEST = BASE_NAMESPACE + "/Cancel";
-    String VALIDATE_REQUEST = BASE_NAMESPACE + "/Validate";
-    String BATCH_VALIDATE_REQUEST = BASE_NAMESPACE + "/BatchValidate";
-   
+   String BATCH_ISSUE_REQUEST = BASE_NAMESPACE + "/BatchIssue";
+
+   String ISSUE_REQUEST = BASE_NAMESPACE + "/Issue";
+
+   String RENEW_REQUEST = BASE_NAMESPACE + "/Renew";
+
+   String CANCEL_REQUEST = BASE_NAMESPACE + "/Cancel";
+
+   String VALIDATE_REQUEST = BASE_NAMESPACE + "/Validate";
+
+   String BATCH_VALIDATE_REQUEST = BASE_NAMESPACE + "/BatchValidate";
+
    // WS-Trust validation constants.
-    String STATUS_TYPE = BASE_NAMESPACE + "/RSTR/Status";
-    String STATUS_CODE_VALID = BASE_NAMESPACE + "/status/valid";
-    String STATUS_CODE_INVALID = BASE_NAMESPACE + "/status/invalid";
-   
+   String STATUS_TYPE = BASE_NAMESPACE + "/RSTR/Status";
+
+   String STATUS_CODE_VALID = BASE_NAMESPACE + "/status/valid";
+
+   String STATUS_CODE_INVALID = BASE_NAMESPACE + "/status/invalid";
+
    // WS-Trust key types.
-    String KEY_TYPE_BEARER = BASE_NAMESPACE + "/Bearer";
-    String KEY_TYPE_SYMMETRIC = BASE_NAMESPACE + "/SymmetricKey";
-    String KEY_TYPE_PUBLIC = BASE_NAMESPACE + "/PublicKey"; 
-   
+   String KEY_TYPE_BEARER = BASE_NAMESPACE + "/Bearer";
+
+   String KEY_TYPE_SYMMETRIC = BASE_NAMESPACE + "/SymmetricKey";
+
+   String KEY_TYPE_PUBLIC = BASE_NAMESPACE + "/PublicKey";
+
    // WS-Trust binary secret types.
-    String BS_TYPE_ASYMMETRIC = BASE_NAMESPACE + "/AsymmetricKey";
-    String BS_TYPE_SYMMETRIC = BASE_NAMESPACE + "/SymmetricKey";
-    String BS_TYPE_NONCE = BASE_NAMESPACE + "/Nonce";
-   
+   String BS_TYPE_ASYMMETRIC = BASE_NAMESPACE + "/AsymmetricKey";
+
+   String BS_TYPE_SYMMETRIC = BASE_NAMESPACE + "/SymmetricKey";
+
+   String BS_TYPE_NONCE = BASE_NAMESPACE + "/Nonce";
+
    // WS-Trust computed key types.
-    String CK_PSHA1 = BASE_NAMESPACE + "/CK/PSHA1";
-   
+   String CK_PSHA1 = BASE_NAMESPACE + "/CK/PSHA1";
+
    // WSS namespaces values.
-    String WSA_NS = "http://www.w3.org/2005/08/addressing";
-    String WSP_NS = "http://schemas.xmlsoap.org/ws/2004/09/policy";
-    String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
-    String WSSE_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
-    String WSSE11_NS = "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd";
-    String XENC_NS = "http://www.w3.org/2001/04/xmlenc#";
-    String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
-    String SAML2_ASSERTION_NS = "urn:oasis:names:tc:SAML:2.0:assertion";
-   
+   String WSA_NS = "http://www.w3.org/2005/08/addressing";
+
+   String WSP_NS = "http://schemas.xmlsoap.org/ws/2004/09/policy";
+
+   String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
+
+   String WSSE_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
+
+   String WSSE11_NS = "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd";
+
+   String XENC_NS = "http://www.w3.org/2001/04/xmlenc#";
+
+   String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
+
+   String SAML2_ASSERTION_NS = "urn:oasis:names:tc:SAML:2.0:assertion";
+
    // WSS Fault codes
-    QName SECURITY_TOKEN_UNAVAILABLE = new QName(WSSE_NS, "SecurityTokenUnavailable");
-    QName INVALID_SECURITY_TOKEN = new QName(WSSE_NS, "InvalidSecurityToken");
-    QName INVALID_SECURITY = new QName(WSSE_NS, "InvalidSecurity");
-    QName FAILED_AUTHENTICATION = new QName(WSSE_NS, "FailedAuthentication");
-   
+   QName SECURITY_TOKEN_UNAVAILABLE = new QName(WSSE_NS, "SecurityTokenUnavailable");
+
+   QName INVALID_SECURITY_TOKEN = new QName(WSSE_NS, "InvalidSecurityToken");
+
+   QName INVALID_SECURITY = new QName(WSSE_NS, "InvalidSecurity");
+
+   QName FAILED_AUTHENTICATION = new QName(WSSE_NS, "FailedAuthentication");
+
    //Token Types
-    String SAML2_TOKEN_TYPE = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0";
-    String RSTR_STATUS_TOKEN_TYPE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/Status";
-   
+   String SAML2_TOKEN_TYPE = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0";
+
+   String RSTR_STATUS_TOKEN_TYPE = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/Status";
+
    //Element Names
-    String BINARY_SECRET = "BinarySecret";
-    String CREATED = "Created";
-    String ENTROPY = "Entropy";
-    String EXPIRES = "Expires";
-    String ON_BEHALF_OF = "OnBehalfOf";
-    String COMPUTED_KEY = "ComputedKey";
-    String KEY_SIZE = "KeySize";
-    String KEY_TYPE = "KeyType";
-    String LIFETIME = "Lifetime";
-    String RST = "RequestSecurityToken";
-    String RSTR = "RequestSecurityTokenResponse";
-    String RST_COLLECTION = "RequestSecurityTokenCollection";
-    String RSTR_COLLECTION = "RequestSecurityTokenResponseCollection";
-    String REQUESTED_TOKEN = "RequestedSecurityToken";
-    String REQUESTED_TOKEN_CANCELLED = "RequestedTokenCancelled";
-    String REQUESTED_PROOF_TOKEN = "RequestedProofToken";
-    String REQUESTED_ATTACHED_REFERENCE = "RequestedAttachedReference";
-    String REQUEST_TYPE = "RequestType";
-    String TOKEN_TYPE = "TokenType";
-    String CANCEL_TARGET = "CancelTarget";
-    String RENEW_TARGET = "RenewTarget";
-    String VALIDATE_TARGET = "ValidateTarget";
-    String USE_KEY = "UseKey";
-    String STATUS = "Status";
-    String CODE = "Code";
-    String REASON = "Reason";
-   
+   String BINARY_SECRET = "BinarySecret";
+
+   String CREATED = "Created";
+
+   String ENTROPY = "Entropy";
+
+   String EXPIRES = "Expires";
+
+   String ISSUER = "Issuer";
+
+   String ON_BEHALF_OF = "OnBehalfOf";
+
+   String COMPUTED_KEY = "ComputedKey";
+
+   String KEY_SIZE = "KeySize";
+
+   String KEY_TYPE = "KeyType";
+
+   String LIFETIME = "Lifetime";
+
+   String RST = "RequestSecurityToken";
+
+   String RSTR = "RequestSecurityTokenResponse";
+
+   String RST_COLLECTION = "RequestSecurityTokenCollection";
+
+   String RSTR_COLLECTION = "RequestSecurityTokenResponseCollection";
+
+   String REQUESTED_TOKEN = "RequestedSecurityToken";
+
+   String REQUESTED_TOKEN_CANCELLED = "RequestedTokenCancelled";
+
+   String REQUESTED_PROOF_TOKEN = "RequestedProofToken";
+
+   String REQUESTED_ATTACHED_REFERENCE = "RequestedAttachedReference";
+
+   String REQUEST_TYPE = "RequestType";
+
+   String TOKEN_TYPE = "TokenType";
+
+   String CANCEL_TARGET = "CancelTarget";
+
+   String RENEW_TARGET = "RenewTarget";
+
+   String VALIDATE_TARGET = "ValidateTarget";
+
+   String USE_KEY = "UseKey";
+
+   String STATUS = "Status";
+
+   String CODE = "Code";
+
+   String REASON = "Reason";
+
    //Attribute Names
-    String RST_CONTEXT = "Context";
-    String TYPE = "Type";
-    String VALUE_TYPE = "ValueType";
-    
-    public interface XMLDSig
-    {
-       String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
-       String EXPONENT = "Exponent";
-       String KEYINFO = "KeyInfo";
-       String KEYVALUE = "KeyValue";
-       String MODULUS = "Modulus";
-       String DSIG_PREFIX = "ds";
-       String RSA_KEYVALUE = "RSAKeyValue";
-       String DSA_KEYVALUE = "DSAKeyValue";
-       String X509DATA = "X509Data";
-       String X509CERT = "X509Certificate";
-    }
-    
-    public interface XMLEnc
-    {
-       String XMLENC_NS = "http://www.w3.org/2001/04/xmlenc#";
-       String ENCRYPTED_KEY = "EncryptedKey";
-    }
-    
-    public interface WSSE
-    {
-       String KEY_IDENTIFIER = "KeyIdentifier";
-       String KEY_IDENTIFIER_VALUETYPE_SAML = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID";
-       String PREFIX_11 = "wsse11";
-       String SECURITY_TOKEN_REFERENCE = "SecurityTokenReference";
-       String USERNAME_TOKEN = "UsernameToken";
-       String VALUE_TYPE = "ValueType";
-    }
+   String RST_CONTEXT = "Context";
+
+   String TYPE = "Type";
+
+   String VALUE_TYPE = "ValueType";
+
+   public interface XMLDSig
+   {
+      String DSIG_NS = "http://www.w3.org/2000/09/xmldsig#";
+
+      String EXPONENT = "Exponent";
+
+      String KEYINFO = "KeyInfo";
+
+      String KEYVALUE = "KeyValue";
+
+      String MODULUS = "Modulus";
+
+      String DSIG_PREFIX = "ds";
+
+      String RSA_KEYVALUE = "RSAKeyValue";
+
+      String DSA_KEYVALUE = "DSAKeyValue";
+
+      String X509DATA = "X509Data";
+
+      String X509CERT = "X509Certificate";
+   }
+
+   public interface XMLEnc
+   {
+      String XMLENC_NS = "http://www.w3.org/2001/04/xmlenc#";
+
+      String ENCRYPTED_KEY = "EncryptedKey";
+   }
+
+   public interface WSSE
+   {
+      String KEY_IDENTIFIER = "KeyIdentifier";
+
+      String KEY_IDENTIFIER_VALUETYPE_SAML = "http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID";
+
+      String PREFIX_11 = "wsse11";
+
+      String SECURITY_TOKEN_REFERENCE = "SecurityTokenReference";
+
+      String USERNAME_TOKEN = "UsernameToken";
+
+      String VALUE_TYPE = "ValueType";
+   }
 }
\ No newline at end of file



More information about the jboss-cvs-commits mailing list