public interface LoginSecurityContext extends SecurityContext
SecurityContext
implementations which can get the authenticated
Subject and/or the list of the user roles may implement this interface.Modifier and Type | Method and Description |
---|---|
Subject |
getSubject()
Returns the Subject representing the current authenticated user.
|
Set<Principal> |
getUserRoles()
Returns a set of Principals representing the roles
assigned to the current authenticated user Principal
|
getUserPrincipal, isUserInRole
Copyright © 2017 JBoss by Red Hat. All rights reserved.