Skip to content

Commit cebf1d6

Browse files
authored
Merge pull request #2043 from hugogoncalves/patch-1
Update auth.rst
2 parents 223be46 + b3674ad commit cebf1d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/manual/auth.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Authenticators implement the ``Authenticator<C, P extends Principal>`` interface
2525
if ("secret".equals(credentials.getPassword())) {
2626
return Optional.of(new User(credentials.getUsername()));
2727
}
28-
return Optional.absent();
28+
return Optional.empty();
2929
}
3030
}
3131

0 commit comments

Comments
 (0)