Results 1 to 4 of 4

Thread: Password field

  1. #1
    Join Date
    Jun 2007
    Posts
    16

    Default Password field

    Hi
    This is definitely an easy question one of the field's in my registration is to enter a password. I have generated the CRUD with scaffolding but what do I do on the tag to mask it:
    Code:
     <field:input field="password"  ...
    Also is there an easy way to do the confirm password to cross validate they are both there. Yeah I'm lazy.

  2. #2
    Join Date
    Dec 2009
    Location
    West Chester, Pennsylvania USA
    Posts
    36

    Default

    I have not found an easy way yet, working on it.

    First I am creating a transient field called "passwordAgain".

    Would love to see a feature for field creation that configures the type as "password" for the UI. Maybe add a --password option to "field"
    Regards,
    Gordon Dickens

    gordon@gordondickens.com
    twitter.com/gdickens
    linkedin.com/in/gordondickens
    Blog: technophile.gordondickens.com

  3. #3
    Join Date
    Jul 2010
    Posts
    8

    Default

    Not just in the UI, a password shouldn't be stored as cleartext.

  4. #4
    Join Date
    Dec 2009
    Location
    West Chester, Pennsylvania USA
    Posts
    36

    Default

    That can be fixed in Spring Security with the
    <authentication-manager alias="authenticationManager">
    ...
    <authentication-provider>
    <password-encoder hash="sha-256"/>
    ...
    Regards,
    Gordon Dickens

    gordon@gordondickens.com
    twitter.com/gdickens
    linkedin.com/in/gordondickens
    Blog: technophile.gordondickens.com

Posting Permissions

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