CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Novell Access Manager - Single Sign on with LDAP

Print topic Send  topic

Author Message
Dreamcatchers


Posts: 120
Posted: 05/22/2012, 6:39 AM

I need to integrate the authentication of CodeCharge Studio with the Novel Access Manager in an environment that requires single sign on for all applications.

Does anyone have experience with this?
_________________
Training and LMS Developer
View profile  Send private message
cvboucher

Posts: 191
Posted: 05/22/2012, 9:34 AM

I've done this in .Net against Active Directory. Below is my code. We have thousands of people in our AD and only want certain people to be able to log in (and want it controlled by our app users instead of our AD administrator). So I create a Users table without a password field. I set both the Login and Password to the Login column in the Users table. Then before the Login embed on the Button_DoLogin:

	Dim ErrorFlag As Boolean = False  
	Dim entry As New System.DirectoryServices.DirectoryEntry("LDAP://csustan.edu/dc=csustan,dc=edu", Login.GetControl(Of MTTextBox)("login").Text, Login.GetControl(Of MTTextBox)("password").Text, System.DirectoryServices.AuthenticationTypes.Secure)  
	Try  
		entry.RefreshCache()  
	Catch ex As Exception  
		Login.Errors.Add(InMotion.Common.Resources.ResManager.GetString("CCS_LoginError"))  
		ErrorFlag = True  
	Finally  
		entry.Dispose()  
	End Try  
	  
	If ErrorFlag=False

Then after the embed:

End If

HTH,
Craig
View profile  Send private message
Dreamcatchers


Posts: 120
Posted: 05/25/2012, 5:48 AM

Thanks!

I just found your replay. I really appreciate your sharing the code. I will be working on this in the next week and let you know how things go.
_________________
Training and LMS Developer
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.