Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
e2f5f9dd
Commit
e2f5f9dd
authored
Jan 27, 2010
by
Srikanth Chikkulapelly
Browse files
corrrected authority pattern matching.
parent
33c2148e
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCMV2.pm.in
View file @
e2f5f9dd
...
...
@@ -575,7 +575,7 @@ sub SliverAction($$$$)
#
find
out
the
component
manager
URN
.
my
$
cm_urn
=
GeniHRN
::
Generate
($
OURDOMAIN
,
"authority"
,
"cm"
);
if
((
!defined($slice)) && ($credential->target_urn() =~ "authority")) {
if
((
!defined($slice)) && ($credential->target_urn() =~ "
+
authority
+cm
")) {
#
administrative
credentials
are
presented
.
if
($
cm_urn
!= $credential->target_urn() {
return
GeniResponse
->
Create
(
GENIRESPONSE_FORBIDDEN
(),
undef
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment