@SessionScoped @Named public class RoleController extends Object implements Serializable
| Constructor and Description |
|---|
RoleController() |
| Modifier and Type | Method and Description |
|---|---|
String |
admin() |
boolean |
adminBox() |
String |
getText() |
boolean |
guestBox() |
void |
setText(String text) |
public String getText()
public void setText(String text)
@RolesAllowed(value={"demo-admin","demo-guest"}) public boolean guestBox()
@RolesAllowed(value="demo-admin") public boolean adminBox()
@RolesAllowed(value="demo-admin") public String admin()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.