2014 年文章归档
共 9 篇文章
jPOS Space方法说明
jpos组件 Space 使用默认的SpaceFactory.getSpace();获取的实例中的方法说明如下 存储方法 void out (Object key, Object value) 根据给定的key存入一个对象,如果给定的key已经存在,那么就将这个放入的值存入该key的队列末尾 void out (Object key, Object value, long timeout) timeout指定放入该key队列的对象在超过timeout时间没有被读取,那么这个对象就会被从该key的队列中删除 Object rd (Object key) 依据指定的key读取该key队列中的第一…
2014-10-15 23:07 · jpos
globalsign签发的通配符数字证书tomcat https配置
签发成功后,会有两个文件,yourName.crt和yourName.key 使用openssl 将两个文件导入到一个pkcs12格式的.p12中。 openssl pkcs12 -export -in *.crt -inkey *.key -out whatever.p12 -name "your expected name" 然后去 https://support.globalsign.com/customer/portal/topics/538410-root-certificates/articles 根据crt的证书链分别下载根证书和中级证书 注意比对指纹和序列号和crt证书链上的…
2014-06-04 23:29 · globalsign · crt · key
POS相关密钥简写说明
BDK Base Derivation Key 基础导出密钥 CS Configure Security 安全配置 CSC Card Security Codes 卡安全码 CSCK Card Security Codes Key 卡安全码密钥 CVK Card Validation Key 卡校验密钥 CVV Card Validatoin Value 卡校验值 HSM Host Security Module 主机加密模块 KCV Key Check Value 密钥校验值 IV Initialisation Vector 初始化向量 LMK Local Master Key 本地主密钥…
2014-05-20 17:03
centos 6.5网卡IP配置笔记
首先配置网卡的IP地址使用 这种方式重启后会失效 ifconfig 网卡名称(一般为eth0) 10.1.1.4 netmask 255.255.255.0 10.1.1.4就是你要设置的ip地址,255.255.255.0当然就是子网掩码了 添加网关 router add default gw 10.1.1.1 修改/etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-eth0中的eth0就是网卡的名称,根据情况变通 修改BOOTPROTO=static 表示使用静态IP地址,如果想找DHCP的配置,请自行搜索其他文章 修改完毕后 service …
2014-04-28 21:29
jpos一点小笔记
jpos发布的xml Root节点可以是任何名称 root节点可以有的属性 instance 目前还不知道干嘛的 enabled true 或者 yes 或者不输入,则这个xml会被加载,其他值都会忽略该xml文件,不加载 class 任何类的名称 该类最好是实现QBean接口,或者继承自QBeanSupport 这样才会更有用,如果配置的是Qbean接口实现类,那 么,该类的Init方法会在deploy时候调用 name 表明该文件的类的名称 ,命名规则依赖于 class配置类的具体实现,会调用该类的setName方法 logger 设置 class类中的logger名称 realm 设置…
2014-04-24 23:56
树莓派无线网卡 无线属性配置
配置这些,首先要网卡能被pi正确认出才行 root@raspberrypi:~# vim /etc/wpa.conf 配置文件 network={ ssid="WI-FI名称" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="密码" } 保存完毕重启。记着要修改 /etc/network/interfaces 配置文件内容 auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manu…
2014-04-07 16:31
springmvc配合fastjson Controller返回json配置
mvc-servlet.xml中配置 <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <bean class="com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter"> <property name="supportedMediaTypes" value="application/json"/> </bean> </mvc:message-converters> </mvc:annotation-driven> com…
2014-04-01 11:13
tomcat7使用Maven自动部署
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <url>http://localhost:8080/manager/text</url> <username>tomcat</username> <password>admin</password> <path>/</path> </configuration> </plugin> </plugins> </build> 以上内容插入到pom.…
2014-03-09 10:47
一个获取访问者IP地址,经纬度的网站
http://freegeoip.net/json/?callback=geoip 浏览器访问看效果。 可以用过jsonp在页面用js获取客户端IP地址
2014-01-11 15:22