惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Security Affairs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Jina AI
Jina AI
P
Palo Alto Networks Blog
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Blog — PlanetScale
Blog — PlanetScale
S
Schneier on Security
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
雷峰网
雷峰网
T
Tenable Blog
人人都是产品经理
人人都是产品经理
T
Tor Project blog
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
Scott Helme
Scott Helme
SecWiki News
SecWiki News
C
CERT Recently Published Vulnerability Notes
Recorded Future
Recorded Future
I
InfoQ
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
Cloudbric
Cloudbric
C
Check Point Blog
Engineering at Meta
Engineering at Meta
TaoSecurity Blog
TaoSecurity Blog
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
N
News and Events Feed by Topic
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
腾讯CDC
量子位
Application and Cybersecurity Blog
Application and Cybersecurity Blog
K
Kaspersky official blog
Vercel News
Vercel News
F
Full Disclosure
T
Troy Hunt's Blog
Forbes - Security
Forbes - Security
S
Security @ Cisco Blogs

博客园 - 光阴的故事-SKY

基于.NET平台常用的框架整理 My 2016 如何做好一个保安队长。 Jax 博文阅读密码验证 - 博客园 博文阅读密码验证 - 博客园 博文阅读密码验证 - 博客园 我的2014 teee 师说 韩愈 荀子·劝学 parallelActivity EventHandlingScopeActivity 获取容器内的所有节点 workflow 角色的使用关键 ConditionedActivityGroup ThrowActivity 数据库的数据 转化为XML 在页面上浏览 自定义用户跟踪
浅谈 Workflow 的角色控制的优势与局限
光阴的故事-SKY · 2007-12-25 · via 博客园 - 光阴的故事-SKY

角色设计的原理 
1.设计器
   handleExternalEventActivity 元素
   增加Role 属性。-->RoleValue

        private WorkflowRoleCollection roleValue = new WorkflowRoleCollection();

        public WorkflowRoleCollection RoleValue
        {
            get
            {
                return roleValue;
            }
        } 
2.外部触发 handleExternalEventActivity 元素的事件
     _billServer.RaiseEvent("事件", _instanceid,角色标志);

3.RaiseEvent方法激活---->  "事件"
   eventHand(this, ede);//运行此事件4.通过 ede 的参数 来验证用户
  如果用户在其角色下,通过/否则不通过。

缺点:让用户不停的去尝试是否是其角色,
      而不能列表出用户具有的节点列表。
 
全是我个人理解,不知道是否正确,谢请指点!