Author: milinda
Date: Tue Feb 12 00:49:11 2008
New Revision: 620724
URL: http://svn.apache.org/viewvc?rev=620724&view=rev
Log:
ramapart_issued.c and rampart_issued_token.c added to linux build and fix some
typos.
Modified:
webservices/rampart/trunk/c/include/rampart_issued.h
webservices/rampart/trunk/c/include/rampart_issued_token.h
webservices/rampart/trunk/c/src/util/Makefile.am
webservices/rampart/trunk/c/src/util/rampart_config.c
webservices/rampart/trunk/c/src/util/rampart_context.c
webservices/rampart/trunk/c/src/util/rampart_issued.c
webservices/rampart/trunk/c/src/util/rampart_issued_token.c
webservices/rampart/trunk/c/src/util/rampart_signature.c
Modified: webservices/rampart/trunk/c/include/rampart_issued.h
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_issued.h?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_issued.h (original)
+++ webservices/rampart/trunk/c/include/rampart_issued.h Tue Feb 12 00:49:11
2008
@@ -26,10 +26,12 @@
{
#endif
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_issued_supporting_token_build(rampart_context_t *rampart_context,
- const axutil_env_t *env, axiom_node_t
*sec_node,
- axutil_array_list_t *sign_parts);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rampart_issued_supporting_token_build(
+ rampart_context_t *rampart_context,
+ const axutil_env_t *env,
+ axiom_node_t *sec_node,
+ axutil_array_list_t *sign_parts);
@@ -37,4 +39,5 @@
}
#endif
-#endif
\ No newline at end of file
+#endif
+
Modified: webservices/rampart/trunk/c/include/rampart_issued_token.h
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_issued_token.h?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_issued_token.h (original)
+++ webservices/rampart/trunk/c/include/rampart_issued_token.h Tue Feb 12
00:49:11 2008
@@ -31,36 +31,41 @@
{
#endif
-typedef struct rampart_issued_token_t rampart_issued_token_t;
+ typedef struct rampart_issued_token_t rampart_issued_token_t;
-typedef rampart_issued_token_t *(AXIS2_CALL *
- issued_token_callback_func)(const axutil_env_t *env,
-
rp_property_t *issued_token,
- void *ctx);
+ typedef rampart_issued_token_t *(AXIS2_CALL *
issued_token_callback_func)(
+ const axutil_env_t *env,
+ rp_property_t *issued_token,
+ void *ctx);
-AXIS2_EXTERN rampart_issued_token_t * AXIS2_CALL
-rampart_issued_token_create(const axutil_env_t *env);
+ AXIS2_EXTERN rampart_issued_token_t * AXIS2_CALL
+ rampart_issued_token_create(
+ const axutil_env_t *env);
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_issued_token_free(rampart_issued_token_t *token,
- axutil_env_t *env);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rampart_issued_token_free(
+ rampart_issued_token_t *token,
+ const axutil_env_t *env);
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_issued_token_set_token(rampart_issued_token_t *issued_token,
- axutil_env_t *env,
void *token,
- rp_property_type_t
token_type);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rampart_issued_token_set_token(
+ rampart_issued_token_t *issued_token,
+ const axutil_env_t *env, void *token,
+ rp_property_type_t token_type);
-AXIS2_EXTERN rp_property_type_t AXIS2_CALL
-rampart_issued_token_get_token_type(rampart_issued_token_t *token,
-
axutil_env_t *env);
+ AXIS2_EXTERN rp_property_type_t AXIS2_CALL
+ rampart_issued_token_get_token_type(
+ rampart_issued_token_t *token,
+ const axutil_env_t *env);
-AXIS2_EXTERN void * AXIS2_CALL
-rampart_issued_token_get_token(rampart_issued_token_t *token,
-
axutil_env_t *env);
+ AXIS2_EXTERN void * AXIS2_CALL
+ rampart_issued_token_get_token(
+ rampart_issued_token_t *token,
+ const axutil_env_t *env);
#ifdef __cplusplus
}
Modified: webservices/rampart/trunk/c/src/util/Makefile.am
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/Makefile.am?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/Makefile.am (original)
+++ webservices/rampart/trunk/c/src/util/Makefile.am Tue Feb 12 00:49:11 2008
@@ -7,7 +7,8 @@
rampart_encryption.c
rampart_sec_header_processor.c rampart_sec_processed_result.c \
rampart_sec_header_builder.c rampart_context.c rampart_token_processor.c
rampart_signature.c \
rampart_token_builder.c
rampart_rd_record.c rampart_replay_detector.c rampart_engine.c \
-
rampart_policy_validator.c rampart_error.c rampart_config.c rampart_saml.c
rampart_saml_token.c
+
rampart_policy_validator.c rampart_error.c rampart_config.c rampart_saml.c
rampart_saml_token.c \
+ rampart_issued.c
rampart_issued_token.c
librampart_util_la_LIBADD = -lssl \
Modified: webservices/rampart/trunk/c/src/util/rampart_config.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_config.c?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_config.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_config.c Tue Feb 12 00:49:11
2008
@@ -207,4 +207,5 @@
const axutil_env_t
*env)
{
return rampart_config->issued_token_aquire;
-}
\ No newline at end of file
+}
+
Modified: webservices/rampart/trunk/c/src/util/rampart_context.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_context.c?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_context.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_context.c Tue Feb 12 00:49:11
2008
@@ -2802,4 +2802,5 @@
const axutil_env_t
*env)
{
return rampart_context->aquire_issued_token;
-}
\ No newline at end of file
+}
+
Modified: webservices/rampart/trunk/c/src/util/rampart_issued.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_issued.c?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_issued.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_issued.c Tue Feb 12 00:49:11
2008
@@ -68,4 +68,5 @@
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"[rampart][issued] Not supported token type. ERROR");
return AXIS2_FAILURE;
-}
\ No newline at end of file
+}
+
Modified: webservices/rampart/trunk/c/src/util/rampart_issued_token.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_issued_token.c?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_issued_token.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_issued_token.c Tue Feb 12
00:49:11 2008
@@ -39,7 +39,7 @@
}
AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_issued_token_free(rampart_issued_token_t *token, axutil_env_t *env)
+rampart_issued_token_free(rampart_issued_token_t *token, const axutil_env_t
*env)
{
if (token->token_type == RP_PROPERTY_SAML_TOKEN)
{
@@ -53,7 +53,7 @@
}
AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_issued_token_set_token(rampart_issued_token_t *issued_token,
axutil_env_t *env, void *token, rp_property_type_t token_type)
+rampart_issued_token_set_token(rampart_issued_token_t *issued_token, const
axutil_env_t *env, void *token, rp_property_type_t token_type)
{
issued_token->token = token;
issued_token->token_type = token_type;
@@ -61,13 +61,14 @@
}
AXIS2_EXTERN rp_property_type_t AXIS2_CALL
-rampart_issued_token_get_token_type(rampart_issued_token_t *token,
axutil_env_t *env)
+rampart_issued_token_get_token_type(rampart_issued_token_t *token, const
axutil_env_t *env)
{
return token->token_type;
}
AXIS2_EXTERN void * AXIS2_CALL
-rampart_issued_token_get_token(rampart_issued_token_t *token, axutil_env_t
*env)
+rampart_issued_token_get_token(rampart_issued_token_t *token, const
axutil_env_t *env)
{
return token->token;
-}
\ No newline at end of file
+}
+
Modified: webservices/rampart/trunk/c/src/util/rampart_signature.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_signature.c?rev=620724&r1=620723&r2=620724&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_signature.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_signature.c Tue Feb 12
00:49:11 2008
@@ -488,7 +488,6 @@
axutil_array_list_t *nodes_to_sign = NULL;
axis2_status_t status = AXIS2_FAILURE;
oxs_sign_ctx_t *sign_ctx = NULL;
- axutil_array_list_t *sign_parts = NULL;
/*axutil_array_list_t *tr_list = NULL;*/
axis2_bool_t server_side = AXIS2_FALSE;
rp_property_type_t token_type;