Results 1 to 4 of 4

Thread: [IP Authentification]

  1. #1
    Join Date
    Apr 2008
    Posts
    8

    Default [IP Authentification]

    Hello,

    I need to implement an IP auth. In which part should I do it ?

    Besides, after authentification, how sessions are managed (request/session scopes) ?

    Thanks for any help.

  2. #2
    Join Date
    Apr 2008
    Posts
    8

    Default

    Any suggestions ?
    Thanks

  3. #3

    Default

    I think you could implement your authentication logic as an endpoint interceptor. you could get the ip of the client via theTransportContext:
    TransportContext context = TransportContextHolder.getTransportContext();
    HttpServletConnection connection = (HttpServletConnection )context.getConnection();
    HttpServletRequest request = connection.getHttpServletRequest();
    String ipAddress = request.getRemoteAddr();
    Tareq Abedrabbo

    My Twitter
    My Blog

  4. #4
    Join Date
    Apr 2008
    Posts
    8

    Default

    Thanks a lot, resolve everything !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •