Search:

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

Search: Search took 0.06 seconds.

  1. Hi, Thanks a lot for this information, i will...

    Hi,

    Thanks a lot for this information, i will surely try this alternative.

    Currently this is solved by setting null for ACEGI_SAVED_REQUEST_KEY from session if it has ajax method. So the error...
  2. Spring security and ajax response on successful login.

    Hi,

    I have a problem using spring security 2.0.

    My home page is using ajax and requesting a servlet on 10 sec everytime.
    Now, if my session is invalidated, and i relogin - instead of...
  3. Hi, In my application, all http urls are...

    Hi,

    In my application, all http urls are redirected to https.

    If you want to do so try following

    <entry key="8080"><value>443</value></entry>

    let me know if it is working or not
  4. Hi, Please try using

    Hi,

    Please try using

    <property name="continueChainBeforeSuccessfulAuthentication" value="true"/>

    for authenticationProcessingFilter bean.

    It should work..
  5. Help? Does j_spring_security_logout invalidate session

    Hi,

    I have not tried it..but found following

    '/j_spring_security_logout' of LogoutFilter is similar to '/j_spring_security_check' of AuthenticationProcessingFilter but for logout.

    E.g....
  6. Replies
    1
    Views
    1,116

    preauthentication in spring

    I am not sure regarding your security-context.xml.
    But what i know is if you want to customize spring security.. you need to write authenticationprocessingfilter with appropriate property values in...
  7. Question on authentication success handler

    Hi,

    What I understand from your question is, you want to stay on the same page once you are successfully authenticated by the login pop up?

    Is it redirecting to defaultTargetURL? which is your...
  8. Replies
    2
    Views
    996

    how to implement spring security

    Hi,

    Can you please provide details, that what problem you are facing while implementing spring security?

    Thanks,
    Nisha
  9. How to make Struts2 Action url secure ?

    Hi,

    You want to make url secure..means..u you want to redirect from http to https..! right.!

    You can do this by using channelProcessingFilter in spring - applicationcontext-security.xml file.
    ...
  10. Redirecting to login-applet upon AccessDeniedException

    Hi,

    If above solution does not work, have a look at following link. It might help you.

    http://forum.springsource.org/showthread.php?t=59984

    - Nisha
  11. Redirecting to login-applet upon AccessDeniedException

    Yes, I think you have to customized exceptionTranslationFilter

    <bean id="exceptionTranslationFilter" class="org.acegisecurity.ui.ExceptionTranslationFilter">
    <property name="accessDeniedHandler"...
  12. Replies
    3
    Views
    639

    Hi, Your problem is you can not see your first...

    Hi,

    Your problem is you can not see your first page login.jsp for entering authentication details? If yes then please check where is your login.jsp in web app?

    It should be out side of...
  13. Full example of implementing remember-me with ldap

    Hi,

    I have used Spring 2.5.5 and implemented remember me functionality by extending AuthenticationProcessingFilter and implementing customized 'onSuccessfulAuthentication' method. (Not with ldap)...
  14. Replies
    5
    Views
    1,440

    UserDetails.getPassword

    Hi Kedi,

    For customization, you have to implement 'UserDetails' interface and create your own class, having customized getPassword() method.

    Hope it helps.

    Thanks,
    Nisha
  15. Mixing Spring Security and Struts 2 JSP tags

    Thanks...

    That's a good input for handling role differently..
  16. duplicate users with different passwords

    You can do this customization by following ways.

    1. Customize 'loadUserByUsername' method by extending UserDetailsService. This new class should have following method.

    public UserDetails...
  17. Mixing Spring Security and Struts 2 JSP tags

    Yes you are correct.

    But in certain cases, we have to show some pages/links to only admin role and not to any other roles. So in that case we can use if/else construct right?

    Is there any other...
  18. Replies
    1
    Views
    625

    Multiple authentication providers

    Hi,

    Yes as per the documentation of ProviderManager untill it founds not null response providers will get called.

    I tried with two different providers, and if response found from first...
  19. Access denied even though Role has the required permission

    Hi,

    Can you please give some more information from your applicationcontext-security.xml regarding how you are using rolevoter and how you are preventing access?

    Thanks,
    Nisha
  20. Mixing Spring Security and Struts 2 JSP tags

    Hi,

    I have used struts 2 tags with spring <sec:authorize>.

    Example :
    <s:if test="#session.isAdmin==true"> // Validation for admin role..
    <sec:authorize <your validation> >
    // Code goes...
  21. Replies
    9
    Views
    1,696

    Spring Security While login

    Hi,

    Yes you can display one more error message. But for that you have to extend 'JdbcDaoSupport(org.springframework.jdbc.core.support.JdbcDaoSupport)' class and implement UserDetailsService(import...
Results 1 to 21 of 21