Interface AuthenticationContext
-
- All Known Implementing Classes:
SSLAuthenticationContext
,UndertowAuthenticationContext
public interface AuthenticationContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authentication
getAuthentication()
Gets the currently authenticated principal.InetAddress
getClientAddress()
Gets the client address.SecurityMechanism
getSecurityMechanism()
Gets the security mechanism used to authenticate the current user.void
setAuthentication(Authentication authentication)
Sets the currently authenticated principal.
-
-
-
Method Detail
-
getSecurityMechanism
SecurityMechanism getSecurityMechanism()
Gets the security mechanism used to authenticate the current user.- Returns:
- the
SecurityMechanism
.
-
getClientAddress
InetAddress getClientAddress()
Gets the client address.- Returns:
- the
InetAddress
instance.
-
getAuthentication
Authentication getAuthentication()
Gets the currently authenticated principal.- Returns:
- the
Authentication
.
-
setAuthentication
void setAuthentication(Authentication authentication)
Sets the currently authenticated principal.
-
-