1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Update javadoc

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan
2025-08-24 13:42:50 +07:00
committed by Josh Cummings
parent 21bef947b0
commit e91b098c7c
2 changed files with 11 additions and 4 deletions
@@ -208,7 +208,8 @@ public abstract class SecurityExpressionRoot<T extends @Nullable Object> impleme
/**
* Convenience method to access {@link Authentication#getPrincipal()} from
* {@link #getAuthentication()}
* @return
* @return the <code>Principal</code> being authenticated or the authenticated
* principal after authentication.
*/
public @Nullable Object getPrincipal() {
return getAuthentication().getPrincipal();