I am currently building a web app with Perl Dancer. This app requires users to authenticate using my company's Active Directory. To avoid prompting users for their usernames and passwords, I would like to use Integrated Windows Authentication. However, I am having a hard time locating any documentation that explains how to use this type of authentication with Perl--let alone with the Dancer framework. At this point, I am not sure if I'll be deploying this app on Apache or IIS, so something that can work with both would be preferable. Does anyone have any suggestions to help me get started?
Using Integrated Windows Authentication in a Perl Dancer App
2.1k views Asked by indiguy At
1
There are 1 answers
Related Questions in PERL
- Perl Regex for converting query strings
- Cross compiling perl for Android ld.lld: error: unable to find library -lpthread
- Regexp to remove small numbers and leave large ones
- `df` command not capturing entire output in perl
- Webmin CentOS7 AWS backup errors - perl(S3::AWSAuthConnection) can't be installed
- How to ignore perm errors with Path::Tiny 'visit'? (Windows)
- Why does setting `*\` to a scalar (string) reference not result in auto printing
- Regex for deconstructing SQL where statement
- Random characters in DS record from Net::DNS:RR when calling print/string
- Perl with Selenium: cannot save the Web page with Ctrl+S
- openssl pbkdf2 and perl
- Strawberry Perl using a separate winlibs distro
- Perl / Undefined value as a HASH reference when running SNMP queries
- Timestamp with timezone: works with isql but not with DBD::Firebird
- Slurping a file ... syntax error - example from perldoc
Related Questions in ACTIVE-DIRECTORY
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- Connecting to SQL Server and performing BULK INSERT from Linux Container
- Running wmi queries as a non-admin user on a remote machine using C#
- How can we make an environment specific Token-based authorization using Ping Token?
- Reuse SSL certificate from the personal certificate store across services such as RDP and Federated Sign In
- Adding user in AD using powershell
- Netbox in docker LDAP authentication
- PowerShell Script Install-ADDSDomainController Error
- Get username of logged in user while using Domain Admin privileges
- Populate Simple AD from LDAP
- Python LDAP3 Changing Account Values
- Powershell - Exporting MemberOf to csv file from active directory
- Filtering users from a CSV then removing those filtered users from specific security groups with Powershell
- Nested Expression in Powershell returning part of Expression
Related Questions in WINDOWS-AUTHENTICATION
- Blazor WebAssembly with API protected with Windows authentication
- Web API works with Windows authentication enabled when consumed via Swagger but throws an unauthorized issue when accessed through web app
- AspNetCore WebApp not passing users windows credentials to API
- How can I run my C# app using a SQLConnection to SQL Server with Windows Authentication in a PC not joined to domain?
- .Net SqlConnection class with Windows authentication
- Cannot authenticate to IIS using win auth and dotnet 6
- SQL windows authentication fails sort of
- Why doesn't my visual studio asp.net core web application recognise my windows account when running the project
- .NET core 7 windows authentication exception when deployed
- Unable to connect to SQL Server using windows authentication mode through PowerShell
- SharePoint Online : Tokens and Mutli Factor Authentication in a WinForms App
- Windows Authentication in New Dotnet SPA Templates (React + Vite)
- ASP.NET (Blazor): Trigger windows authentication popup only on a single page
- How to configure ClaimTransformer for CoreWCF with TCP endpoints?
- Kerberos ticket has wrong impersonationlevel after the calling application upgraded from .NET 4.7
Related Questions in DANCER
- How to send serialized post with Plack::Test?
- How to `send_error` from `before` hook at dancer?
- Is there a way to allow multiple connections to Dancer2
- Mixed content & uri_for function
- Why Dancer `halt` command bypass all events?
- Why 'after' hook is not called when exception occur?
- Trying to create Dancer2 custom response
- Perl Dancer and Mason2
- Sort a hash reference by value instead of key in Template Toolkit
- How to pass a command line option in Perl Dancer App executed by plackup
- Starting web development with Perl Dancer2
- SOLVED: Where Dancer2 tutorial script is looking for css/stype.css file?
- what is the significance of 'retry' and 'every' config parameters in Dancer2::Plugin::Redis
- Perl Dancer2 default route failing
- Perl script running a periodic (main) task and providing a REST interface
Related Questions in STRAWBERRY-PERL
- Strawberry Perl using a separate winlibs distro
- Strawberry perl - input file streaming issue
- Activeperl to Strawberry perl
- Why is the Hashref passed to the Net::Ping constructor, set to an empty hashref after Net::Ping->new($args)?
- error when installing module Text::Unaccent
- installation errors for Perl Spreadsheet::Write
- Perldl failing to plot. Gnuplot fails to deploy with cpan
- Strawberry Perl version check
- Strawberry Perl MSI installation error - 1603
- Strawberry Perl warning Subroutine Config::STORE redefined from perl libs?
- Perl Compiling PP issue in Strawberry Perl
- Git::Repository and Strawberry Perl
- (Windows 10) Trying to Install Perl Modules both PPM and CPAN fail?
- Unable to locate XML/Simple.pm in windows
- Installing imagemagick perlmagick on Windows Strawberry Perl
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Checked around and found someone else had had this very question on PerlMonks and it appears to have worked for them. I'm in the process of testing it out right now.
Question on PerlMonks: http://www.perlmonks.org/?node_id=821419
The original poster stated that they used the following guide: http://sivel.net/2007/05/sso-apache-ad-1
All reference using perl module: https://metacpan.org/module/Apache2::AuthenNTLM
Edit: It works!
Make sure your apache config loads the ntlm.conf file
Do not use the entire fqdn for your PDC; just the hostname.
'PerlSetVar ntlmdebug 1' is helpful. Just remember to turn it off afterwards.