Axis2/C: rp_issued_token.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# rp_issued_token.h

    00001
    00002 /*
    00003  * Copyright 2004,2005 The Apache Software Foundation.
    00004  *
    00005  * Licensed under the Apache License, Version 2.0 (the "License");
    00006  * you may not use this file except in compliance with the License.
    00007  * You may obtain a copy of the License at
    00008  *
    00009  *      http://www.apache.org/licenses/LICENSE-2.0
    00010  *
    00011  * Unless required by applicable law or agreed to in writing, software
    00012  * distributed under the License is distributed on an "AS IS" BASIS,
    00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00014  * See the License for the specific language governing permissions and
    00015  * limitations under the License.
    00016  */
    00017
    00018 #ifndef RP_ISSUED_TOKEN_H
    00019 #define RP_ISSUED_TOKEN_H
    00020
    00026 #include <rp_includes.h>
    00027 #include <axutil_utils.h>
    00028 #include <neethi_operator.h>
    00029 #include <neethi_policy.h>
    00030 #include <neethi_exactlyone.h>
    00031 #include <neethi_all.h>
    00032 #include <neethi_engine.h>
    00033
    00034 #ifdef __cplusplus
    00035 extern "C"
    00036 {
    00037 #endif
    00038
    00039         typedef struct rp_issued_token rp_issued_token_t;
    00040
    00041         AXIS2_EXTERN rp_issued_token_t * AXIS2_CALL
    00042         rp_issued_token_create(
    00043                         const axutil_env_t *env);
    00044
    00045         AXIS2_EXTERN void AXIS2_CALL
    00046         rp_issued_token_free(
    00047                         rp_issued_token_t *issued_token,
    00048                         const axutil_env_t *env);
    00049
    00050         AXIS2_EXTERN axis2_char_t * AXIS2_CALL
    00051         rp_issued_token_get_inclusion(
    00052                         rp_issued_token_t *issued_token,
    00053                         const axutil_env_t *env);
    00054
    00055         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00056         rp_issued_token_set_inclusion(
    00057                         rp_issued_token_t *issued_token,
    00058                         const axutil_env_t *env,
    00059                         axis2_char_t *inclusion);
    00060
    00061         AXIS2_EXTERN axiom_node_t * AXIS2_CALL
    00062         rp_issued_token_get_issuer_epr(
    00063                         rp_issued_token_t *issued_token,
    00064                         const axutil_env_t *env);
    00065
    00066         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00067         rp_issued_token_set_issuer_epr(
    00068                         rp_issued_token_t *issued_token,
    00069                         const axutil_env_t *env,
    00070                         axiom_node_t *issuer_epr);
    00071
    00072         AXIS2_EXTERN axiom_node_t * AXIS2_CALL
    00073         rp_issued_token_get_requested_sec_token_template(
    00074                         rp_issued_token_t *issued_token,
    00075                         const axutil_env_t *env);
    00076
    00077         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00078         rp_issued_token_set_requested_sec_token_template(
    00079                         rp_issued_token_t *issued_token,
    00080                         const axutil_env_t *env,
    00081                         axiom_node_t *req_sec_token_template);
    00082
    00083         AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00084         rp_issued_token_get_derivedkeys(
    00085                         rp_issued_token_t *issued_token,
    00086                         const axutil_env_t *env);
    00087
    00088         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00089         rp_issued_token_set_derivedkeys(
    00090                         rp_issued_token_t *issued_token,
    00091                         const axutil_env_t *env,
    00092                         axis2_bool_t derivedkeys);
    00093
    00094         AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00095         rp_issued_token_get_require_external_reference(
    00096                         rp_issued_token_t *issued_token,
    00097                         const axutil_env_t *env);
    00098
    00099         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00100         rp_issued_token_set_require_exernal_reference(
    00101                         rp_issued_token_t *issued_token,
    00102                         const axutil_env_t *env,
    00103                         axis2_bool_t require_external_reference);
    00104
    00105         AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00106         rp_issued_token_get_require_internal_reference(
    00107                         rp_issued_token_t *issued_token,
    00108                         const axutil_env_t *env);
    00109
    00110         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00111         rp_issued_token_set_require_internal_reference(
    00112                         rp_issued_token_t *issued_token,
    00113                         const axutil_env_t *env,
    00114                         axis2_bool_t require_internal_reference);
    00115
    00116         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00117         rp_issued_token_increment_ref(
    00118                         rp_issued_token_t *issued_token,
    00119                         const axutil_env_t *env);
    00120
    00121 #ifdef __cplusplus
    00122 }
    00123 #endif
    00124 #endif