Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:26:19+00:00 2026-06-15T22:26:19+00:00

I am working on application using GWT platform, and now i want to add

  • 0

I am working on application using GWT platform, and now i want to add security part. What is the best practice to do this?
My requirements for security are:

  • having user authorities;
  • hide some places from users without required authorities;
  • hide some elements on page from users without required authorities;
  • secure server side from unauthorized requests;
  • comfortable managing all of this things (like in spring using annotations or something like this )
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:26:20+00:00Added an answer on June 15, 2026 at 10:26 pm

    having user authorities;

    Model your users with permission atribute, like

     private int user_type;
    

    hide some places from users without required authorities;

    Use the concept of Gate Keeper

    A Gate Keeper is Singleton that obligates you to inherit a method called

    boolean canReveal()
    

    Using this, you can call server and search for user permission, then reveal or not the presenter called.

    If a Presenter need security, just add @UseGateKeeper on it Proxy interface, like:

    SomePresenter extends Presenter<V,P>{
           @UseGateKeeper(YourGateKeeper.class)
           SomePresenterProxy extends ProxyPlace{}
    }
    

    This will block users without some permission to access a presenter.

    hide some elements on page from users without required authorities;

    A good question, I’ve never seen this type of security in GWTP Projects. But you can always use Widget.setVisible(false) ;D, but I don’t know if gwtp has a good practice for this.

    secure server side from unauthorized requests;

    GWTP GWTP makes it possible to link each of your ActionHandlers with a server-side ActionValidator that determines whether or not the current client can execute the action

    You can hide some server calls using ActionValidator’s.

    read this

    comfortable managing all of this things (like in spring using annotations or something like this)

    As you can see, many of this security concepts use Annotations and other’s stuff to manage easily your Application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on window application using c# . i want to show my
I'm currently working on web application using VB in ASP.NET. Right now I have
I'm working on a security camera application using the webcam that takes a photo
I am working on a wpf application using PRISM. This is my first ever
We have an application working fine for Mac and Windows platform, now targeting for
I have a running Java GWT application, that I can compile using Eclipse. Now
im working on application using delphi 7 , and i just came across this
I have a working application using python and zeromq and I would like to
I'm working on an application using MEF (specifically, MEF 2 Preview 5 ), and
I am working a java application using H2 Database in embedded mode. My Application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.