Search:

Type: Posts; User: DanielYWoo; Keyword(s):

Search: Search took 0.02 seconds.

  1. Security Discussion: Where to intercept?

    I always have a Struts Action associated a Service for the business logic and persistence. Hence I will use some interceptors to restrain security with the Service layer.

    Now I have a new project,...
  2. Replies
    7
    Views
    1,484

    Appreciate your help, I will take a look at the...

    Appreciate your help, I will take a look at the article you mentioned, I guess it's http://server.denksoft.com/wordpress/?page_id=5

    >>>>another way you might consider thinking about is to remove...
  3. Replies
    7
    Views
    1,484

    >>ROLE_PROJECT_MANAGER >>ROLE_PROJECT_USER I...

    >>ROLE_PROJECT_MANAGER
    >>ROLE_PROJECT_USER

    I need to dynamically create roles by the system administrator. Once a Role is created it can be used in all projects and has the same permissions....
  4. Replies
    7
    Views
    1,484

    another solution

    I had read them through, but I didn't figure a way to do that.
    I have another solution as below.

    A User has ProjectAuthority(s), each ProjectAuthority is a collection of Role(s) for a specific...
  5. Replies
    7
    Views
    1,484

    Role based + domain object security

    We are starting to develop a project management tool with the security model as below, it seems Spring Security cannot make it.

    1. A User has Permissions and Roles, and a Role is a collection of...
  6. I submitted an CR for you, pls evaluate it :-)...

    I submitted an CR for you, pls evaluate it :-)
    http://jira.springframework.org/browse/SEC-1100
  7. Thanks for you reply, I also found this in Spring...

    Thanks for you reply, I also found this in Spring doc, but for 403, it seems that we can only specify a page, it's not allowed to replace the accessDeniedhandler

    see ...
  8. I solved half of this issue. I think for 401...

    I solved half of this issue.
    I think for 401 unauthorized URLs, I can replace the "authenticationEntryPoint" in ExceptionTranslationFilter with name space configuration this way:


    <security:http...
  9. I want to inject my own authenticationEntryPoint...

    I want to inject my own authenticationEntryPoint (redirect to login page for UI URL, send error 401 for web service URL) and accessDeniedHandler(redirect to 'access-denied-page' for UI URL, send...
  10. Process 401/403 differently according to URLs

    I have three types of URLs to be protected:
    UI - /ui/**
    RESTful Web Service - /ws/rest/**
    SOAP Web Service - /ws/soap/**

    For UI URLs, if a user is not authenticated, I want it to be redirected...
  11. I am such a fool

    I am such a fool
  12. Sorry I did not express what I mean, I know the...

    Sorry I did not express what I mean, I know the purpose of ROLE_ and IS_, but I don't know what's the abbreviation of IS_ :-)
  13. so what does IS_ mean?

    I still don't know what does IS mean even reader through the guide
Results 1 to 13 of 13