Skip to content

Commit

Permalink
ACIdentityManager: bug fix to augment when only numeric principal
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Feb 28, 2024
1 parent e98156c commit 16f4c81
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 16f4c81

Please sign in to comment.