00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef RP_PROPERTY_H
00019 #define RP_PROPERTY_H
00020
00025 #include <rp_includes.h>
00026 #include <rp_username_token.h>
00027 #include <rp_x509_token.h>
00028 #include <rp_issued_token.h>
00029 #include <rp_saml_token.h>
00030 #include <rp_security_context_token.h>
00031 #include <rp_https_token.h>
00032
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037
00038 typedef enum
00039 {
00040 RP_PROPERTY_USERNAME_TOKEN = 0,
00041 RP_PROPERTY_X509_TOKEN,
00042 RP_PROPERTY_ISSUED_TOKEN,
00043 RP_PROPERTY_SAML_TOKEN,
00044 RP_PROPERTY_SECURITY_CONTEXT_TOKEN,
00045 RP_PROPERTY_HTTPS_TOKEN,
00046 RP_PROPERTY_SYMMETRIC_BINDING,
00047 RP_PROPERTY_ASYMMETRIC_BINDING,
00048 RP_PROPERTY_TRANSPORT_BINDING,
00049 RP_PROPERTY_SIGNED_SUPPORTING_TOKEN,
00050 RP_PROPERTY_SIGNED_ENDORSING_SUPPORTING_TOKEN,
00051 RP_PROPERTY_SUPPORTING_SUPPORTING_TOKEN,
00052 RP_PROPERTY_ENDORSING_SUPPORTING_TOKEN,
00053 RP_PROPERTY_WSS10,
00054 RP_PROPERTY_WSS11,
00055 RP_PROPERTY_SUPPORTING_TOKEN,
00056 RP_PROPERTY_UNKNOWN
00057 } rp_property_type_t;
00058
00059 typedef struct rp_property_t rp_property_t;
00060
00061 AXIS2_EXTERN rp_property_t *AXIS2_CALL
00062 rp_property_create(
00063 const axutil_env_t * env);
00064
00065 AXIS2_EXTERN void AXIS2_CALL
00066 rp_property_free(
00067 rp_property_t * property,
00068 const axutil_env_t * env);
00069
00070 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00071 rp_property_set_value(
00072 rp_property_t * property,
00073 const axutil_env_t * env,
00074 void *value,
00075 rp_property_type_t type);
00076
00077 AXIS2_EXTERN void *AXIS2_CALL
00078 rp_property_get_value(
00079 rp_property_t * property,
00080 const axutil_env_t * env);
00081
00082 AXIS2_EXTERN rp_property_type_t AXIS2_CALL
00083 rp_property_get_type(
00084 rp_property_t * property,
00085 const axutil_env_t * env);
00086
00087 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00088 rp_property_increment_ref(
00089 rp_property_t * property,
00090 const axutil_env_t * env);
00091
00092 #ifdef __cplusplus
00093 }
00094 #endif
00095 #endif