Teimatini Marin

Greenhorn
+ Follow
since Jun 18, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Teimatini Marin

If your client runs over a web browser you don't need to do anything, the browser stores the sessionId for you. Then you can get the sessionId in a FilterServelt (for instance) an do there whatever you need...
11 years ago
"security token"?? Could be a SessionID... right?

A secured resource can then inspect the token (or delegate that job to a security subsystem) to determine whether the token entitles the user to perform the requested (GET,POST,PUT,DELETE,HEAD) operation.

mmm... in the simplest case, Could this be a simple Filter Servlet that checks for a SessionID, verfies access and allows or denies access. Did I understood well?

Thanks for your ports.
11 years ago
I know, RESTful WebServices are stateles.

What about security... in the case I have 2 user: pedro and juan. And the following resource: http://miserver.com.mx/myresurces/{user}/personalInfo

Obviously pedro is not allowed to view juan's personal information... If I don't have state in the server side (session) how can I verify that juan is trying to access the URI http://miserver.com.mx/myresurces/juan/personalInfo and is not pedro...

I mean, the user could change the URI at browser side an access information he is not allow to view.

What am I lossing? Any suggestions-idea?


Thanks,

TMM
11 years ago
Hi:
I have the following question...
How can I get a reference of a View intance that is draw in a JEditorPane?
I mean, I click some plane into an JEditorPane, then I get the place where
the mouse was clicked... In the JEditorPane I have the
jeditorpane.modelToView(int x) method that return a Rectangle with the area
where the View is painted... but not the View reference.
I need a View refence to execute X method of mi View...
How can I do it?

THANKS
TMM
16 years ago
Hi:
I need to change the QL of an EntityBean's finder method at run time... how can i do this???
Thanks
TMM