目录
1 序言 ................................................................................................................................................5
1.1 企业介绍.......................................................................................................................................................5
2 J2EE 接口 ......................................................................................................................................5
2.1 接口介绍.......................................................................................................................................................5
2.2 接口安装.......................................................................................................................................................6
2.2.1 Casproxy.jar ............................................................................................................................................6
2.2.2 加载服务器组件到应用系统中...............................................................................................................6
2.2.2.1 Web.xml................................................................................................................................6
2.2.2.2 拷贝配置文件 .........................................................................................................................7
2.2.2.3 拷贝运行文件 .........................................................................................................................8
2.2.2.4 cas.properties ......................................................................................................................8
2.2.2.5 caslog.xml ............................................................................................................................9
2.3 接口说明.....................................................................................................................................................11
2.3.1 函数说明.................................................................................................................................................11
2.3.1.1 类 AuthBroker ...................................................................................................................11
2.3.1.2 接口 AuthBrokerIF.............................................................................................................12
2.3.2 使用示例.................................................................................................................................................15
3 C 接口...........................................................................................................................................19
3.1 接口介绍.....................................................................................................................................................19
3.2 安装说明.....................................................................................................................................................19
3.2.1 解压缩.....................................................................................................................................................19
3.2.2 config 说明 .............................................................................................................................................21
3.2.2.1 casserver.config ................................................................................................................21
3.2.2.2 casclient.config .................................................................................................................22
3.2.3 配置环境.................................................................................................................................................22
3.3 C 接口说明.................................................................................................................................................23
3.3.1 创建代理.................................................................................................................................................23
3.3.2 注销代理.................................................................................................................................................23
3.3.3 证书用户登录.........................................................................................................................................23
3.3.4 证书用户登出.........................................................................................................................................24
3.3.5 口令用户登录.........................................................................................................................................24
3.3.6 口令用户登出.........................................................................................................................................24