@ProviderType
public interface User
authorize(String)
the user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
USER_ATTRIBUTE
The name of the request attribute providing an object of this class
|
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(java.lang.String role)
Checks whether the user has the given role permission.
|
java.lang.Object |
getUserObject()
Return the user object.
|
static final java.lang.String USER_ATTRIBUTE
java.lang.Object getUserObject()
null
if no web console security provider is configured and
access to the console is allowed without authentication.null
boolean authorize(java.lang.String role)
role
- The requested roletrue
if the user is given permission for the given role.Copyright © 2010 - 2023 Adobe. All Rights Reserved