Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8020299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:39:13+00:00 2026-06-04T21:39:13+00:00

Currently our website uses .NET Forms Authentication with salted SHA1 password hashes stored in

  • 0

Currently our website uses .NET Forms Authentication with salted SHA1 password hashes stored in a SQL Server 2005 database. We want to change over to use a CAS Server for authentication, but we don’t want to loose our existing usernames/passwords.

I figure I have two options… I can use the QueryDatabaseAuthenticationHandler and recreate the hashes in T-SQL, or I can use the DefaultPasswordEncoder if I can replicate the exact settings that .NET Forms Authentication uses. Both are documented here.

Has anyone tried to configure CAS to read .NET password hashes? If so, do you have an example using one of the methods above (or a third that I haven’t thought of)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:39:15+00:00Added an answer on June 4, 2026 at 9:39 pm

    I dont have an example ready unfortunately, but I know for certain that folks have done this by leveraging the functionality in the two classes you pointed out.

    If you’re looking for additional info and examples on how this may be done, please post a message to @cas-user mailing list.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a Asp.net MVC 2 application that uses Forms Authentication and currently
Currently our website uses links to allow the user to change their locale. The
I am currently tasked with porting our website code onto a linux server (from
Our website is currently experiencing high volume download traffic. It will soon exceed the
My company runs a video website. We currently make our content available via streaming,
For a website I'm currently working on we're redirecting our old URL's permanently to
Our build plans for Sitecore (.Net) websites are currently using Bamboo as the build
Currently our dev team uses this pattern, but I can't help but wonder if
Currently our code uses a for-loop for filling a buffer holding a Unicode string
I have a web application set up on our intranet that uses windows authentication

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.