??xml version="1.0" encoding="utf-8" standalone="yes"?>黄色污网站在线观看,a√中文在线观看,国产a精品视频http://www.aygfsteel.com/mclane/zh-cnSun, 06 Jul 2025 14:23:55 GMTSun, 06 Jul 2025 14:23:55 GMT60写完了第三个W记?/title><link>http://www.aygfsteel.com/mclane/archive/2010/07/23/326984.html</link><dc:creator>夜露死苦</dc:creator><author>夜露死苦</author><pubDate>Fri, 23 Jul 2010 15:28:00 GMT</pubDate><guid>http://www.aygfsteel.com/mclane/archive/2010/07/23/326984.html</guid><wfw:comment>http://www.aygfsteel.com/mclane/comments/326984.html</wfw:comment><comments>http://www.aygfsteel.com/mclane/archive/2010/07/23/326984.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/mclane/comments/commentRss/326984.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/mclane/services/trackbacks/326984.html</trackback:ping><description><![CDATA[  入职8个月? 写完了第三个W记?br /> <img src ="http://www.aygfsteel.com/mclane/aggbug/326984.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/mclane/" target="_blank">夜露死苦</a> 2010-07-23 23:28 <a href="http://www.aygfsteel.com/mclane/archive/2010/07/23/326984.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>一个想法的转变http://www.aygfsteel.com/mclane/archive/2009/03/20/260922.html夜露死苦夜露死苦Thu, 19 Mar 2009 16:03:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/03/20/260922.htmlhttp://www.aygfsteel.com/mclane/comments/260922.htmlhttp://www.aygfsteel.com/mclane/archive/2009/03/20/260922.html#Feedback3http://www.aygfsteel.com/mclane/comments/commentRss/260922.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/260922.html 裁掉。但是现在觉得那些岗位留着Q其实可以保证社?br /> E_毕竟让所有的人在职场中弱肉强食,是很D酷的事?br /> 有一些岗位,留给妇女同志Q有利于家庭的E_?br /> C会的和谐?br />


夜露死苦 2009-03-20 00:03 发表评论
]]>
提高工作效率http://www.aygfsteel.com/mclane/archive/2009/03/19/260651.html夜露死苦夜露死苦Thu, 19 Mar 2009 01:08:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/03/19/260651.htmlhttp://www.aygfsteel.com/mclane/comments/260651.htmlhttp://www.aygfsteel.com/mclane/archive/2009/03/19/260651.html#Feedback0http://www.aygfsteel.com/mclane/comments/commentRss/260651.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/260651.html 不能因ؓ不知道什么h上了U,分一ơ神



夜露死苦 2009-03-19 09:08 发表评论
]]>
Axis2中的对象和字W串怺转化http://www.aygfsteel.com/mclane/archive/2009/03/18/260587.html夜露死苦夜露死苦Wed, 18 Mar 2009 13:24:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/03/18/260587.htmlhttp://www.aygfsteel.com/mclane/comments/260587.htmlhttp://www.aygfsteel.com/mclane/archive/2009/03/18/260587.html#Feedback0http://www.aygfsteel.com/mclane/comments/commentRss/260587.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/260587.html   可以把这些类的实例和字符串之间做怺转化?br />
        // 对象转换成字W串
        StringWriter stringWriter = new StringWriter();
        XMLStreamWriter xmlStreamWriter 
= StAXUtils
                .createXMLStreamWriter(stringWriter);
        MTOMAwareXMLStreamWriter mtomAwareXMLStreamWriter 
= new MTOMAwareXMLSerializer(
                xmlStreamWriter);

        userCredentialsType.serialize(
new QName(
                
"http://newautovideo.com/siteengine/ws/types""ns1"),
                OMAbstractFactory.getSOAP11Factory(), mtomAwareXMLStreamWriter);

        xmlStreamWriter.flush();
        xmlStreamWriter.close();
        String omElementString 
= stringWriter.toString();
        System.out.println(
"OM String ==> " + omElementString);

        
// 字符串{换成对象
        XMLStreamReader xmlReader = StAXUtils
                .createXMLStreamReader(
new ByteArrayInputStream(omElementString
                        .getBytes()));
        UserCredentialsType result 
= UserCredentialsType.Factory
                .parse(xmlReader);
        System.out.println(
"OM Object==> " + result.getUserID());



夜露死苦 2009-03-18 21:24 发表评论
]]>
做事感悟http://www.aygfsteel.com/mclane/archive/2009/03/13/259597.html夜露死苦夜露死苦Fri, 13 Mar 2009 10:32:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/03/13/259597.htmlhttp://www.aygfsteel.com/mclane/comments/259597.htmlhttp://www.aygfsteel.com/mclane/archive/2009/03/13/259597.html#Feedback0http://www.aygfsteel.com/mclane/comments/commentRss/259597.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/259597.html 不管不顾的,q?br />


夜露死苦 2009-03-13 18:32 发表评论
]]>
混合了RBAC和ACL的权限系l?? -- ZRBAC的系l权?/title><link>http://www.aygfsteel.com/mclane/archive/2009/02/10/254050.html</link><dc:creator>夜露死苦</dc:creator><author>夜露死苦</author><pubDate>Tue, 10 Feb 2009 04:49:00 GMT</pubDate><guid>http://www.aygfsteel.com/mclane/archive/2009/02/10/254050.html</guid><wfw:comment>http://www.aygfsteel.com/mclane/comments/254050.html</wfw:comment><comments>http://www.aygfsteel.com/mclane/archive/2009/02/10/254050.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/mclane/comments/commentRss/254050.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/mclane/services/trackbacks/254050.html</trackback:ping><description><![CDATA[在权限系l中Q我定义了两U类型的权限Q?br /> <strong><br /> 1. 概念</strong><strong>说明</strong> <br /> <br />    <strong><span style="color: #2058ff;"><strong>A pȝU权?/strong>Q?/span></strong>从角色的角度出发Q不特定于Q何实际的资源的权限。比?#8220;用户是否可以修改标题”q个权限Q不针对于Q何特定的标题。权限赋予给某个特定的角艌Ӏ采用RBAC模型实现 <br /> <br />    <strong><span style="color: #2058ff;"><strong>B 对象U权?/strong>Q?/span></strong>从对象实例的角度出发。比如针对于某个特定的标题,~辑在这个标题上的权限。采用ACL模型实现? <ul> </ul>    那么判断用户是否可以修改某条的标题的判断序如下Q?br />    1Q?用户所属的角色是否拥有“修改标题”的权?br />    2Q?用户或者用L是否在某条标题的的ACL列表当中<br /> <br /> <p><strong>2. </strong><strong>RBAC权限部分的表l构说明</strong> </p> <p><strong>1Q系l权限(PermissionQ?/strong></p> <p>pȝ权限列表</p> <p> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="156"> <p><strong>名称</strong></p> </td> <td valign="top" width="168"> <p><strong>定义</strong></p> </td> <td valign="top" width="216"> <p><strong>说明</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p><strong>id</strong></p> </td> <td valign="top" width="168"> <p><strong>bigint</strong></p> </td> <td valign="top" width="216"> <p><strong>主键Q系l权限id</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p>name</p> </td> <td valign="top" width="168"> <p>varchar</p> </td> <td valign="top" width="216"> <p>名称</p> </td> </tr> </tbody> </table> </p> <p> </p> <p><strong>2Q?角色QRoleQ?/strong></p> <p>角色?/p> <p> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="156"> <p><strong>名称</strong></p> </td> <td valign="top" width="168"> <p><strong>定义</strong></p> </td> <td valign="top" width="216"> <p><strong>说明</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p><strong>id</strong></p> </td> <td valign="top" width="168"> <p><strong>bigint</strong></p> </td> <td valign="top" width="216"> <p><strong>主键Q角色id</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p>name</p> </td> <td valign="top" width="168"> <p>varchar</p> </td> <td valign="top" width="216"> <p>名称</p> </td> </tr> </tbody> </table> </p> <p> </p> <p><strong>3Q?授权QauthoritiesQ?/strong></p> <p>l某个角色授予多系l权限<br /> </p> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="156"> <p><strong>名称</strong></p> </td> <td valign="top" width="168"> <p><strong>定义</strong></p> </td> <td valign="top" width="216"> <p><strong>说明</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p><strong>id</strong></p> </td> <td valign="top" width="168"> <p><strong>bigint</strong></p> </td> <td valign="top" width="216"> <p><strong>主键Qid</strong></p> </td> </tr> <tr> <td valign="top" width="156">roleid</td> <td valign="top" width="168"> <p>bigint<br /> </p> </td> <td valign="top" width="216"> <p>角色id</p> </td> </tr> <tr> <td valign="top" width="156">permissionid</td> <td valign="top" width="168"> <p>bigint</p> </td> <td valign="top" width="216"> <p>权限id</p> </td> </tr> </tbody> </table> <br /> <p><strong>4Q?用户l成员(memebershipsQ?/strong></p> <p>用户l以及用L成员</p> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="156"> <p><strong>名称</strong></p> </td> <td valign="top" width="168"> <p><strong>定义</strong></p> </td> <td valign="top" width="216"> <p><strong>说明</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p><strong>id</strong></p> </td> <td valign="top" width="168"> <p><strong>bigint</strong></p> </td> <td valign="top" width="216"> <p><strong>主键Q用户id</strong></p> </td> </tr> <tr> <td valign="top" width="156"> <p>groupid</p> </td> <td valign="top" width="168"> <p>bigint</p> </td> <td valign="top" width="216"> <p>用户lid</p> </td> </tr> <tr> <td valign="top" width="156"> <p>userid</p> </td> <td valign="top" width="168">bigint</td> <td valign="top" width="216">用户id</td> </tr> <tr> <td valign="top" width="156">roleid</td> <td valign="top" width="168"> <p>bigint</p> </td> <td valign="top" width="216">角色id</td> </tr> </tbody> </table> <br /> <strong>3. </strong><strong>RBAC权限部分?/strong><strong>关系说明</strong><br /> <br />   <strong>用户和角Ԍ</strong>用户和角色是多对多的关系。但是在授予某个用户某个角色的时候,是以用户lؓ单位的。比如用户A在用L1中可能是“理?#8221;的角Ԍ但是在用L2中就可能?#8220;普通用?#8221;的角艌Ӏ这U划分在业务pȝ中比较通用。当Ӟ具体C个用P使用哪个用户l的角色来做判断Q是׃务来军_的?br /> <br />   <strong>角色和系l权限</strong>Q是一个一对多的关pR通过授权来完成。当然在授权之前Q需要把需要用的pȝ及权限注到数据库的permission表?br />   <br /> Q夜露死苦)<br /> <br /> <br /> <br /> <img src ="http://www.aygfsteel.com/mclane/aggbug/254050.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/mclane/" target="_blank">夜露死苦</a> 2009-02-10 12:49 <a href="http://www.aygfsteel.com/mclane/archive/2009/02/10/254050.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>混合了RBAC和ACL的权限系l?一) -- 用户l织l构http://www.aygfsteel.com/mclane/archive/2009/02/06/253629.html夜露死苦夜露死苦Fri, 06 Feb 2009 12:11:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/02/06/253629.htmlhttp://www.aygfsteel.com/mclane/comments/253629.htmlhttp://www.aygfsteel.com/mclane/archive/2009/02/06/253629.html#Feedback3http://www.aygfsteel.com/mclane/comments/commentRss/253629.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/253629.html 

最q的工作是一个基设计Q打造一个基于RBAC和ACL的权限基lg?

q个基础lg的特ҎQ同时؜合了RBAC和ACL的认证方式,也就是说同时提供pȝU别的授权(RBACQ和对象U别的授权(ACLQ?

1. 表结构说?/strong>

1Q组l单位(OrganizationQ?/strong>

l织单位作ؓ基本l构单位。在人员的组l结构中Q是用来表示l织l构树。(例如公司Q?/p>

名称

定义

说明

id

bigint

主键Q组l结构id

name

varchar

名称

dn

varchar

distinguish name

parentid

varchar

父组l单位的id

 

2Q?用户QUserQ?/strong>

是最的自然单位Q无法再包括子节炏V对应自然h。(例如员工Q?/p>

名称

定义

说明

id

bigint

主键Q用户id

name

varchar

名称

password

varchar

密码

dn

varchar

distinguish name

parentid

varchar

所属的l织单位的id

 

3Q?用户l(GroupQ?/strong>

包含了多个用Ll(例如公司中的目l)

名称

定义

说明

id

bigint

主键Q用Lid

name

varchar

昄名称

dn

varchar

distinguish name

parentid

varchar

所属的l织单位的id

 

4Q?属性(AttributesQ?/strong>

用来记录用户、用L、组l单位的属性?/p>

名称

定义

说明

id

bigint

主键Q?/strong>属性id

ownerid

bigint

属性的拥有者id

ownertype

varchar

属性拥有者类型:用户、用L、组l单?/p>

name

varchar

属性名U?/p>

attribute

Text

属性?/p>

 

2. 关系说明

1Q?用户l和l织单位Q用L是可以用来分配权限,而组l单位只是一个用来容器,不能用来分配权限Q可以对它做l策备应用,l织单一点说像一个文件夹Q用来规划一个AD对象的。(比如一个公司可以拥有多个项目组Q项目组是分配权限和资源的单位)

 

2Q?用户和用L: 是多对多的关p,同一个用户可以隶属于多个工作l,同一个工作组可以包含多个用户。(比如某个员工可以同时为多个项目组工作Q?/p>

 

3Q?用户和组l单?/strong>: 是一对一的关p,同一个用户只能在某个l织单位中。比如一个员工可以同时ؓ多个目l(用户l)工作Q但是员工只能隶属于一个公?br />

Q夜露死苦)



夜露死苦 2009-02-06 20:11 发表评论
]]>
如何配置Windows Live Writerhttp://www.aygfsteel.com/mclane/archive/2009/02/02/252905.html夜露死苦夜露死苦Mon, 02 Feb 2009 01:16:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/02/02/252905.htmlhttp://www.aygfsteel.com/mclane/comments/252905.htmlhttp://www.aygfsteel.com/mclane/archive/2009/02/02/252905.html#Feedback0http://www.aygfsteel.com/mclane/comments/commentRss/252905.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/252905.html 

1、在菜单中选择“Weblog”,然后选择“Another Weblog Service”?br>2、在Weblog Homepage URL中输入你的Blog主页地址?br>3、输入用户名与密码?br>4、在“Type of  weblog that you are using”中选择“Custom(Metaweblog API)”?br>5、“Remote posting URL for your weblog”中输入“http://www.cnblogs.com/用户?services/metaweblog.aspx”?

使用注意Q用Windows Live Writer发布之后QWindows Live Writerq不改变当前H口的状?也没有明昄提示)Q在当前H口中会刚发布的随W处于编辑状态,如果修改q发布,会直接修改刚发布的随W内宏V?/p>

夜露死苦 2009-02-02 09:16 发表评论
]]>
杭州http://www.aygfsteel.com/mclane/archive/2009/02/02/252904.html夜露死苦夜露死苦Mon, 02 Feb 2009 01:10:00 GMThttp://www.aygfsteel.com/mclane/archive/2009/02/02/252904.htmlhttp://www.aygfsteel.com/mclane/comments/252904.htmlhttp://www.aygfsteel.com/mclane/archive/2009/02/02/252904.html#Feedback0http://www.aygfsteel.com/mclane/comments/commentRss/252904.htmlhttp://www.aygfsteel.com/mclane/services/trackbacks/252904.html八年没回杭州了。趁着出差回去了一天?

西湖q是那样

灵隐q是那样

学校也还是那P门口的徏{稍昄败?

半夜里还是冻得睡不着?

原来对一个地Ҏ念q度之后Q会不自觉的把记忆稍加美化。现实让自己都觉得有炚w愕?/p>

夜露死苦 2009-02-02 09:10 发表评论
]]>
վ֩ģ壺 ƽ| | | | | ɽ| | ׷| ʩ| | ²| ɫ| | | | ±| | | | | ӽ| | ̴| ĵ| Դ| | | Ӣɳ| üɽ| | Ϫ| | | | ɽ| | Դ| ֶ| | | |