Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. But is there a way to go from HTTPS --> HTTP if...

    But is there a way to go from HTTPS --> HTTP if that is what I am really trying to achieve ?

    Is there a way to change the login page to post HTTPS and still maintain the session ?
  2. Replies
    5
    Views
    423

    Thanks Guys !! Hope this thread helps others...

    Thanks Guys !!

    Hope this thread helps others as well.
  3. Replies
    5
    Views
    423

    Thanks Andrew, The information I got (about...

    Thanks Andrew,

    The information I got (about STS not beign free if used to re-sell a developed app) is a combination of reading the license of STS and also a direct question posed over the phone to...
  4. Replies
    5
    Views
    423

    Hmm.. now I come across this ...

    Hmm.. now I come across this

    http://forum.springsource.org/showthread.php?109671-License-questions

    Which says that STS can be used to develop apps that can be "sold"......

    Please, can...
  5. Replies
    5
    Views
    423

    Qs on License for use of IDE tools.

    Hello All,

    I recently contacted SpringSource for a license related question, and was told that I needed to purchase an Enterprise license costing roughly 800 GBP per year !

    My gut feeling...
  6. Displaying a large number of rows from JPA getResultList

    Sorry if this has already been asked many times before..

    I have a few thousand rows that I want to display in a JSP page with the output of
    a JPA query.

    I know there are better ways to do this...
  7. I finally found the answer in the forums + with...

    I finally found the answer in the forums + with lots of trial and error.

    A complete config is






    <bean id="roleHierarchy" ...
  8. Problems getting Role Hierarchy to work with Web Context / annotations

    I have read many posts and searched quite a lot, but cannot seem to get a role Hierachy to work.

    My main issue at this point seems to be that a spring tag like
    <security:authorize...
  9. Thanks. I have not looked at filters yet, but...

    Thanks.

    I have not looked at filters yet, but have currently implemented a custom provider for username and password authentication.

    It accepts a tagged input in the username...
  10. Is it possible to pass params from custom login page to initial Controller?

    Hi,

    I am using Spring 3.1, and was wondering if its pssible to gather extra information in a custom login page,
    and then have that information available later on in the Controller that gets...
  11. Both javax and Hibernate Validators (JSR-303) being used !

    Hello All,

    I am attempting to use JSR-303 validations in my MVC app (Spring 3.1), and have some success.

    However, when I use standard javax validations like @Size and @NotNull, it looks like ...
  12. So you are saying that all beans could be in the...

    So you are saying that all beans could be in the root context.

    But not sure why you then talk about the contextConfigLocation being empty, because, is that not where the root Context
    gets loaded...
  13. Found a ref for this in Jira

    https://jira.springsource.org/browse/SPR-6836
  14. Thanks. Now excluding controllers using filters

    Thanks Marten.

    I am now excluding from application / including in web using the following.

    Thanks again !


    In applicationContext :-

    <context:component-scan base-package="com.mytest"...
  15. hibernate.hbm2ddl.auto ="create" only works if generateDdl is not set in JpaAdpter

    Not sure if this is a bug, or I am missing something.

    I am using spring 3.0.6 and Hibernate 4.0.0.CR7, abd HsqlDb with JPA

    I have the following in persistence.xml
    <property...
  16. @Controller in application context : Works, but is it bad practice ?

    I am new to Spring, and am running into issues with understanding the application Vs web context.

    My main issue is that I want only one <context:component-scan> to create all beans defined in my...
  17. RESOLVED ! The issue was due to the fact that...

    RESOLVED !

    The issue was due to the fact that I had not enabled <tx:annotation-driven/> in the web context.

    I was under the impression that the web context was a child of the parent application...
  18. Strange thing is that I have a Bean that does a...

    Strange thing is that I have a Bean that does a database lookup when I log into my web application, which seems to
    create a new transaction, although I am doing a find() only here.

    Later on,...
  19. "No Transaction Is In Progress" error when using JPA / LocalContainerEMF bean

    I am fairly new to spring, and am trying to get a simple app that uses @Transactional in methods that
    persist data.


    I think that my error seems to be that the EntityManager an the rest of the...
  20. Custom login page :- How do I deal with errors ?

    SOLVED:- I found the objects in session scope. and could reference it with ${SPRING_SECURITY_LAST_EXCEPTION.message}


    I cant seem to find any samples of how to deal with errors in a custom login...
  21. How to check for null in jsp tag

    I am using the authentication tag in my jsp pages, which is referenced from the <access-denied-handler>
    This shows the email address of the person who tired to login.

    Eg:- denied.jsp

    ...
  22. Newbie: Cannot set form-login page to a mvc:view-controller

    Please Igone :- Error was that my web.xml was configured to only forward *.form to diuspatcherServlet, hence I could
    not seem to get other urls to work. duh !



    I am new to spring security 3.1,...
  23. Got it to work eventually

    Initially I thought I had an issue with spring security 3.1, but actually it was because I was importing too many dependencies using maven.

    Importing just a few required spring jars, cleaning and...
  24. I have the same issue at design time, but it works for me at runtime

    I get the same error at design time in the context xml file.

    I think this is because of spring security 3.1, as another project where I used 3.0 did not have this issue.
    I am using STS 2.8.0
Results 1 to 24 of 26
Page 1 of 2 1 2