gabrial11392 / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Adding compatibility with multiple security context. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There's is a small change to do into dispatch to allow us the use of 
multiple 
security context by relative path.

First : Changing SecureDispatchService.java.

@RemoteServiceRelativePath("dispatch")

for

@RemoteServiceRelativePath("secureDispatch")

Also we could add other context for secureUser and secureAdmin by 
making two other Service.

Personaly, it would be great to have three context. One for SecureUser 
(Where we could add a right system) and one for SecureAdmin with full 
access. The question is, do we really need to add this inside platform ? At 
least the first change is something that should be added, since secure and 
standard already exist but can't coexist. 

(Reported by goudreau.christian)

Original Issue and discussion:
http://code.google.com/p/puzzlebazar/issues/detail?id=86

Original issue reported on code.google.com by philippe.beaudoin on 27 Mar 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Bumped to V0.2. I'm not sure how to approach this.

Original comment by philippe.beaudoin on 1 Apr 2010 at 6:38

GoogleCodeExporter commented 9 years ago
Related to Issue 4. Is this a duplicate?

Original comment by philippe.beaudoin on 7 Apr 2010 at 5:18

GoogleCodeExporter commented 9 years ago
The choice to choose wich path to use is made client side, thus making our app 
insecure.

I'm thinking about a way to have only one dispatch path and, server side, using 
a bind 
: action.class, actionhandler.class, securityAccesspr.class making the choice 
of 
security context SERVER side.

Original comment by goudreau...@gmail.com on 21 Apr 2010 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by goudreau...@gmail.com on 22 Apr 2010 at 12:41

GoogleCodeExporter commented 9 years ago
If we add issue 4 implementation, this issue will also be blocked on issue 4

Original comment by goudreau...@gmail.com on 22 Apr 2010 at 12:52

GoogleCodeExporter commented 9 years ago

Original comment by goudreau...@gmail.com on 22 Apr 2010 at 4:53

GoogleCodeExporter commented 9 years ago
Merged the gwtpsecure branch. Made some more modifications. The dispatch module 
is 
now dependant on Guice.

For more information on porting your app to this new dispatch module, see:
http://code.google.com/p/gwt-platform/wiki/PortingV1

Original comment by philippe.beaudoin on 30 Apr 2010 at 5:15