Home » Eclipse Projects » Virgo » Virgo & SecurityManager
Virgo & SecurityManager [message #784178] |
Fri, 27 January 2012 01:42  |
Eclipse User |
|
|
|
Hi guys, do you have any examples how to run Virgo with enabled SecurityManager?
I have tried many options and no one of them does not work.
|
|
| | |
Re: Virgo & SecurityManager [message #787324 is a reply to message #784289] |
Tue, 31 January 2012 08:03   |
Eclipse User |
|
|
|
It looks like that ConditionalPermissionAdmin does not work properly with "cn=*, ou=*, o=Eclipse.org Foundation\, Inc, l=*, st=*, c=*" distinguished name as a condition argument. According to the specification:
<string> ::= *( <stringchar> | <pair> ) | '"' *( <stringchar> | <special> | <pair> ) '"' | "#" <hex>
<pair> ::= "\" ( <special> | "\" | '"')
<special> ::= "," | "=" | <CR> | "+" | "<" | ">" | "#" | ";"
When ConditionalPermissionAdmin creates ConditionalPermissionInfo it skips escaped comma and escapes backslash. Parsed name is: "cn=*, ou=*, o=Eclipse.org Foundation\\, Inc, l=*, st=*, c=*".
I think that it is wrong, it should not escape escaped comma.
|
|
|
Re: Virgo & SecurityManager [message #787377 is a reply to message #787324] |
Tue, 31 January 2012 09:11   |
Eclipse User |
|
|
|
Also when I use BundleSignerCondition with argument "CN=*, OU=*, O=*, L=Ottawa, ST=*, C=*" to match org.eclipse.equinox.simpleconfigurator_1.0.300.v20110815-17 bundle which is signed by:
CN="Eclipse.org Foundation, Inc", OU=Digital ID Class 3 - Java Object Signing, O="Eclipse.org Foundation, Inc", L=Ottawa, ST=Ontario, C=CA
CN=VeriSign Class 3 Code Signing 2004 CA, OU=Terms of use at https://www.verisign.com/rpa (c)04, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US
OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US
it fails. And I do not know the reason. Any ideas?
|
|
| | | |
Re: Virgo & SecurityManager [message #788033 is a reply to message #787524] |
Wed, 01 February 2012 04:10  |
Eclipse User |
|
|
|
Quote:Also when I use BundleSignerCondition with argument "CN=*, OU=*, O=*, L=Ottawa, ST=*, C=*" to match org.eclipse.equinox.simpleconfigurator_1.0.300.v20110815-17 bundle...
I have found the reason of this problem, the pattern I was using is wrong. Because there is a DN chain the pattern should be "-; CN=*, OU=*, O=*, L=Ottawa, ST=*, C=*; -".
|
|
|
Goto Forum:
Current Time: Thu May 15 18:39:36 EDT 2025
Powered by FUDForum. Page generated in 0.04905 seconds
|