资源简介
一款国外开源的oa 软件功能齐全扩展性好。
代码片段和文件信息
/*
Copyright (C) 2003 Know Gate S.L. All rights reserved.
C/O馻 107 1? 28050 Madrid (Spain)
Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice this list of conditions and the following disclaimer.
2. The end-user documentation included with the redistribution
if any must include the following acknowledgment:
“This product includes software parts from hipergate
(http://www.hipergate.org/).“
Alternately this acknowledgment may appear in the software itself
if and wherever such third-party acknowledgments normally appear.
3. The name hipergate must not be used to endorse or promote products
derived from this software without prior written permission.
Products derived from this software may not be called hipergate
nor may hipergate appear in their name without prior written
permission.
This library is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You should have received a copy of hipergate License with this code;
if not visit http://www.hipergate.org or mail to info@hipergate.org
*/
package com.knowgate.acl;
import java.sql.SQLException;
import java.sql.Connection;
import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.Statement;
import java.sql.ResultSet;
import java.math.BigDecimal;
import com.knowgate.debug.DebugFile;
import com.knowgate.jdc.JDCConnection;
/**
*
* Top Level User Authentication and Access Control List Functions.
* @author Sergio Montoro Ten
* @version 1.0
*/
public class ACL {
/**
* Default Constructor
*/
public ACL() {
}
/**
* Checks whether or not password is valid for given user.
* This method calls k_sp_autenticate stored procedure witch looks up tx_pwd field at k_users table and see if it is the same as sAuthStr parameter.
* @param oConn Opened Database Connection
* @param sUserId User nickname
* @param sAuthStr Authentication String (password)
* @param iFlags Authentication String Flags
*
* - ACL.PWD_CLEAR_TEXT Authentication String is passed as clear text (no encryption)
* - ACL.PWD_DTIP_RC4 Authentication String is given encrypted using RC4 algorithm
*
* @return
*
* - ACL.USER_NOT_FOUND sUserId not found at gu_user field from k_users table
* - ACL.INVALID_PASSWORD sAuthStr parameter does not match tx_pwd field from k_users for sUserId
* - ACL.PASSWORD_EXPIRED Password has expired (dt_pwd_expires field value is before current date)
* - ACL.INTERNAL_ERROR Internal error while trying to autenticate user
*
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 553 2003-12-17 23:09 hipergate-1.1.0\appserver.cnf
目录 0 2003-12-21 19:16 hipergate-1.1.0\bin\
文件 7418 2003-11-30 23:54 hipergate-1.1.0\bin\cachecoordinator-jboss30.jar
文件 15730 2003-12-07 19:46 hipergate-1.1.0\bin\cachecoordinator-wl70.jar
文件 2177314 2003-12-21 19:00 hipergate-1.1.0\bin\hipergate-1.1.0-debug.jar
文件 1654645 2003-12-21 19:13 hipergate-1.1.0\bin\hipergate-1.1.0.jar
文件 713 2003-12-21 19:18 hipergate-1.1.0\bin\readme.txt
目录 0 2003-12-22 14:46 hipergate-1.1.0\databa
文件 3492352 2003-12-21 19:33 hipergate-1.1.0\databa
文件 468992 2003-12-21 22:20 hipergate-1.1.0\databa
文件 287440 2003-12-22 14:44 hipergate-1.1.0\databa
文件 1888 2003-12-22 14:48 hipergate-1.1.0\databa
目录 0 2003-12-21 20:28 hipergate-1.1.0\doc\
目录 0 2003-12-21 19:30 hipergate-1.1.0\doc\javadoc\
文件 11824 2003-12-21 19:18 hipergate-1.1.0\doc\javadoc\allclasses-fr
文件 10614 2003-12-21 19:18 hipergate-1.1.0\doc\javadoc\allclasses-nofr
目录 0 2003-12-21 19:30 hipergate-1.1.0\doc\javadoc\com\
目录 0 2003-12-21 19:30 hipergate-1.1.0\doc\javadoc\com\knowgate\
目录 0 2003-12-21 19:30 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\
文件 29729 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\ACL.html
文件 24990 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\ACLDomain.html
文件 26120 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\ACLGroup.html
文件 34282 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\ACLUser.html
文件 1184 2003-12-21 19:18 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\package-fr
文件 6222 2003-12-21 19:18 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\package-summary.html
文件 5692 2003-12-21 19:18 hipergate-1.1.0\doc\javadoc\com\knowgate\acl\package-tree.html
目录 0 2003-12-21 19:30 hipergate-1.1.0\doc\javadoc\com\knowgate\addrbook\
文件 14648 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\addrbook\DayPlan.html
文件 24379 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\addrbook\Fellow.html
文件 17051 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\addrbook\Fellowti
文件 33351 2003-12-21 19:19 hipergate-1.1.0\doc\javadoc\com\knowgate\addrbook\Meeting.html
............此处省略2876个文件信息
- 上一篇:opencv3.4.1 编译库,可在Qt直接使用
- 下一篇:通信原理ppt
相关资源
- LoadRunner12.00用户指南—中文版,十分
- WinCC OA官方中文视频教程第四天
- SIM超分辨成像开源代码
- zedboard官方教程
-
Databa
se Systems:A Practical Approach to - Programming Massively Parallel Processors_ A H
- 超好用的公路创建插件RoadBuilder.zip
- Video DownloadHelper Companion App 1.2.4.rar亲测
- 开源公交调度系统
- 泛微OA ECOLOGY 授权生成器
- 悬浮球floatball windowmanager用来理解
- 大漠插件 开源代码
- 开源的networkcomms2.3.1通信框架(gplv3)
- 图灵书籍(OAuth 2实战.pdf+代码).zip
- Cardboard SDK for Unity and Demo
- vivado+zedboard之音频分析仪_SW
- vivado+zedboard之audio驱动
- vivado+zedboard之OLED驱动
- vivado+zedboard入门lab56
- stm32 bootloader U盘更新APP程序
- zzpay开源个人微信和支付宝免签收款系
- AI_A_Modern_Approach_3rdEd.pdf
- BC28模块对接电信平台,或者对接私有
- 5173网站开源
- CryptoAPI加解密签名验证
- JBOA办公自动化管理系统全功能实现
- Discrete-Event Modeling and Simulation: a prac
- 装柜专家破解版永久免费 LoadExpert
- Datastead_TVideoGrabber_10.8.4.6_for_Delphi_10
- DevExpress_Universal_Complete_19.1.3_Build_201
评论
共有 条评论