Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OATS-CADC
ac
Commits
1e40e7b4
Commit
1e40e7b4
authored
10 years ago
by
Jeff Burke
Browse files
Options
Downloads
Plain Diff
Merge branch 's1651' of
ssh://mach16/usr/cadc/dev/git/wopencadc
into s1651
parents
d60502f0
aa5c3e6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapGroupDAO.java
+6
-3
6 additions, 3 deletions
...l-Server/src/ca/nrc/cadc/ac/server/ldap/LdapGroupDAO.java
with
6 additions
and
3 deletions
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapGroupDAO.java
+
6
−
3
View file @
1e40e7b4
...
...
@@ -809,14 +809,14 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
* @throws ca.nrc.cadc.ac.GroupNotFoundException
*/
protected
Group
getGroup
(
final
DN
groupDN
)
throws
LDAPException
,
GroupNotFoundException
throws
LDAPException
,
GroupNotFoundException
,
UserNotFoundException
{
Filter
filter
=
Filter
.
createEqualityFilter
(
"entrydn"
,
groupDN
.
toNormalizedString
());
SearchRequest
searchRequest
=
new
SearchRequest
(
config
.
getGroupsDN
(),
SearchScope
.
SUB
,
filter
,
new
String
[]
{
"cn"
,
"description"
}
);
"cn"
,
"description"
,
"owner"
);
searchRequest
.
addControl
(
new
ProxiedAuthorizationV2RequestControl
(
"dn:"
+
...
...
@@ -832,7 +832,10 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
throw
new
GroupNotFoundException
(
groupDN
.
toNormalizedString
());
}
Group
group
=
new
Group
(
searchResult
.
getAttributeValue
(
"cn"
));
Group
group
=
new
Group
(
searchResult
.
getAttributeValue
(
"cn"
),
userPersist
.
getMember
(
new
DN
(
searchResult
.
getAttributeValue
(
"owner"
))));
group
.
description
=
searchResult
.
getAttributeValue
(
"description"
);
return
group
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment