Skip to content

Commit

Permalink
Remove authenticate method
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Aug 16, 2024
1 parent 9c07676 commit 901d53d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public Principal getPrincipal() {
return NamedPrincipal.UNAUTHENTICATED;
}

@Override
public void authenticate(AuthToken token) {
// Do nothing as noop subject is always logged in
}

@Override
public <T> T runAs(Callable<T> callable) throws Exception {
try (ThreadContext.StoredContext ctx = threadPool.getThreadContext().stashContext()) {
Expand Down

0 comments on commit 901d53d

Please sign in to comment.