
public class PlaceWithGatekeeperWithParams extends PlaceImpl
PlaceWithGatekeeper which uses a GatekeeperWithParams
and an array of parameters to protect the Place.| Constructor and Description |
|---|
PlaceWithGatekeeperWithParams(String nameToken,
GatekeeperWithParams gatekeeper,
String[] params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReveal()
Checks if the associated presenter can be revealed.
|
equals, getNameToken, hashCode, matchesRequest, toStringpublic PlaceWithGatekeeperWithParams(String nameToken, GatekeeperWithParams gatekeeper, String[] params)
public boolean canReveal()
Placetrue,
but subclasses should override this and check to make sure the current user
has the privileges to see the place. Make sure the places you request in
PlaceManager.revealDefaultPlace() and
PlaceManager.revealErrorPlace(String) can reveal themselves,
otherwise your application could get into an infinite loop.Copyright © 2010-2014 ArcBees. All Rights Reserved.