Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    396

    how to evaluate variable in expression?

    hello every body.
    you suppose we have an applicationContext.xml file that defining beans in that.
    in this file we introduce a properties file like as this:


    <context:property-placeholder...
  2. how to send to object from ont type in one jsp page?

    hi to all.
    you suppose i have a class with "Person" name include
    name
    family
    email
    id
    properties.
    so is there any way that i creating a jsp page to get to Person information from this?
    like...
  3. does disable @Controller scaning?

    is


    <mvc:resources mapping="/resources/**" location="/resources/"/>

    place important in dispatcher-servlet.xml?
    i have a simple spring mvc project.
    im using than spring mvc namespace...
  4. spring mvc namespace

    hi to all.
    i have a simple spring mvc project.
    in my webapp have a style package that include some css files.
    im using spring-mvc 3.0.5 version.
    i set my dispatcher name to dispatcher in web.xml...
  5. how to use JPA namespace to create entityManagerFactory bean?

    hi to all.
    i have a simple project that using than spring mvc , spring security ,JPA , ... within.
    in my applicationContext.xml file i declaring my entityManagerFactory bean like as this:


    ...
  6. Replies
    0
    Views
    550

    spring mvc namespace

    hi to all.
    i have a simple project that using than spring mvc , spring security within.
    in my web.xml file i declaring that some of resources like as images or css
    must be using than default...
  7. how to prevent successful message show after each refresh?

    hi to all.
    i have a controller that its task is to read customer information and after calling service to persisting customer,
    show a proper message and can again get another customer information....
  8. how to show errors without spring tag?

    is it a mandatory that when i want to use than spring tags like as :


    <form:form action="/authenticateUser" commandName="user" method="post">
    <form:errors path="userName" cssClass="attention"/>...
  9. pass object beteween controller methods that called with redirect:

    hi to all.
    i have a controller that have two method.

    first method :


    @RequestMapping("/addNewPerson")
    public void addNewPersonPage(Model model) {
    Person person = new...
  10. how to map http://localhost:8080 to a default page?

    hi to all.
    is there any way to set root path(http://localhost:8080) map to a page like as login.jsp?
    i'm using than this code :


    <mvc:view-controller view-name="login" path="/" />
    ...
  11. hi. so many thanks but i have another question....

    hi.
    so many thanks but i have another question.
    when i logining with a valid username and password, and if i set a BreakPoin
    in my methods and evaluate...
  12. how to add Authentication manually to SecurityContextHolder after registration?

    hi to all.
    i have a simple web application that i used than spring security wihtin it after
    some time.
    before using than spring security, after a user registering,i set some of necessary...
  13. so many thanks luck. but let me know that what...

    so many thanks luck.
    but let me know that what is your means of

    your mean is manually adding userinformation(authentication) to SecurityContextHolder or session or something like as this?
  14. how to redirect in with POST method after registration to login to system

    hi to all.
    im using than spring securiyt.
    i make simple example and almostly learn somethings about that.
    i have a question that when a user registered to my application need to be login...
  15. how to save user information in session after registration?

    greeting all.
    Please help me, i will appreciate any answer.
    i have a simple web application that within i use than spring security with spring mvc.
    i read some articles and i can setup a simple...
  16. Replies
    1
    Views
    748

    how to save Information in session?

    greeting all.
    i want to learning about springMVC so i creating a simple application.
    i have a login form that users can loggining to system.
    after login they can buy books or doing any things.
    so...
  17. validitaion fields without having any model?

    greeting all.
    i have e question about how can i validate a form that have two fields but dont have any bean related to this fields.
    a best definition is like as this :

    web.xml



    <?xml...
  18. EntityManager can Read But cant Persist objects in DB

    greeting all.
    im new to Using JPA with spring.
    i have a problem when i want to persisting an object.
    its my importantn snippet cod of my files:

    web.xml



    <listener>
  19. Replies
    2
    Views
    951

    password salting problem.

    hi to all.
    i working on a simple spring security example and now exercising on salting password on a db.
    after changing my authentication manager to this style :


    <authentication-manager...
  20. authentication and authorization tables customization

    greeting all.
    im novice to spring security.
    when i start to learn spring security i inducted that spring security performing some of thing automatically for us like as implementing authentication...
  21. Replies
    7
    Views
    876

    but i have a force to change user table name to...

    but i have a force to change user table name to person and authorities to another name?!
    so how can i do this and where i must be declare this change?
  22. Replies
    7
    Views
    876

    you suppose that i change default table name user...

    you suppose that i change default table name user to MyUsers.
    does yet spring security aware of this change?
    i said that i want to write a custom implementation of authentication in DB and change...
  23. Replies
    7
    Views
    876

    ok i understand.so how i must be check that user...

    ok i understand.so how i must be check that user entered password is the same that saved in DB?may i must be create an object like as AuthenticatedUserDetails and returning it and remain thing like...
  24. Replies
    7
    Views
    876

    manually dataSource implementation problem

    hi to all.
    i want to have a custom authentication-manager that check users username and password and authority in a database tables and
    if users exists, create a user and read users info and...
  25. View Post

    <http entry-point-ref="authenticationEntryPoint" use-expressions="true">
    <!--suppress SpringModelInspection -->
    <custom-filter position="FORM_LOGIN_FILTER" ref="myLoginFilter"/>
    ...
Results 1 to 25 of 46
Page 1 of 2 1 2