码迷,mamicode.com
首页 >  
搜索关键字:auth    ( 5609个结果
启动服务时获取数据库连接
以TOMCAT6配置方式为例 第一步,在tomcate/conf/context下面加入以下资源定义标签,包含JNDI命名,授权,类型,数据库驱动类,数据库连接路径,帐号,密码,最大活动数,最小空闲数,最大等待数等信息 <Resource name="jdbc/mydb" auth="Container" type="javax.sql.DataSource...
分类:数据库   时间:2015-04-03 09:28:33    阅读次数:145
java interface 默认值
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @auth...
分类:编程语言   时间:2015-04-01 11:15:31    阅读次数:135
java enum 用法
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @auth...
分类:编程语言   时间:2015-04-01 11:13:49    阅读次数:217
mysql连接错误解决(ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol ref used (client option 'secure_auth' enabled))
当使用mysql的新版本是,连接老版本的mysql,就会有可能报:ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' ena...
分类:数据库   时间:2015-03-31 19:38:26    阅读次数:274
google+ sign in and get the oauth token 转摘:https://gist.github.com/ianbarber/5170508
package com.example.anothersignintest; import java.io.IOException; import com.google.android.gms.auth.GoogleAuthException; import com.google.android.g...
分类:Web程序   时间:2015-03-31 17:22:34    阅读次数:257
Django笔记-数据库操作(多对多关系)
1、项目结构2、关键代码:data6.settings.pyINSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.con...
分类:数据库   时间:2015-03-30 22:37:56    阅读次数:187
Django笔记-登陆、注册(利用cookie实现)
1、项目结构:2、关键代码:settings.pyINSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib....
分类:其他好文   时间:2015-03-29 19:33:59    阅读次数:378
使用Apache .htaccess 进行访问保护
Apache Server下,可以对单个目录进行访问控制,如ip过滤,要求用户名密码进行Basic Auth等。下面使用 .htaccess来实现Auth.首先在配置文件 http.conf里,对所要控制的目录,开启Override功能,如果在这里设置为AllowOverride none, .ht...
分类:数据库   时间:2015-03-28 18:30:51    阅读次数:191
Linux+svn无法显示日志
自己在linux中配置了一个svn服务器,但是客户端在浏览日志的时候报错。提示不能连接到服务器,是否离线查看。。。谷歌了一下,是因为svnserve.conf中配置了anon-access = read,这句话表示没有经过授权的人可以读取项目。但是auth文件里并没有设置anon的操作权限,所以会读...
分类:系统相关   时间:2015-03-28 06:21:06    阅读次数:168
Centos6.5 telnet wireshark
yum -y install telnet-server telnetvim /etc/xinted.d/telnetdisable = novim /etc/pam.d/remote#auth required pam_securetty.so 将‘pts/1’添加到/etc/securetty中...
分类:Web程序   时间:2015-03-21 13:50:11    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!