Skip to content

Commit

Permalink
Merge pull request #167 from pdowler/master
Browse files Browse the repository at this point in the history
ACIdentityManager: bug fix to augment when only numeric principal
  • Loading branch information
pdowler authored Feb 28, 2024
2 parents 14ab5a6 + 16f4c81 commit 2333e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cadc-access-control-identity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {
sourceCompatibility = 1.8
group = 'org.opencadc'

version = '1.2.3'
version = '1.2.4'

description = 'OpenCADC IdentityManager plugin library'
def git_url = 'https://github.com/opencadc/ac'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public Subject augment(final Subject subject) {
}

NumericPrincipal np = getNumericPrincipal(subject);
boolean needAugment = np == null;
boolean needAugment = (np == null || subject.getPrincipals().size() == 1);

if (requireCompletePosixPrincipal) {
PosixPrincipal pp = getPosixPrincipal(subject);
Expand Down

0 comments on commit 2333e0f

Please sign in to comment.