public interface HttpSecurity extends Serializable
HttpSecuritySource
credentials.Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationScheme()
Obtains the authentication scheme used.
|
String |
getRemoteUser()
Name of the user.
|
Principal |
getUserPrincipal()
Obtains the
Principal for the user. |
boolean |
isUserInRole(String role)
Indicates if the user supports the role.
|
String getAuthenticationScheme()
Principal getUserPrincipal()
Principal
for the user.Principal
for the user.String getRemoteUser()
boolean isUserInRole(String role)
role
- Role to check if user supports.true
if the user supports the role.Copyright © 2005–2016. All rights reserved.