How to enable SharePoint 2010 site as a Internet Application with out changing window authentication.
Here we are expecting 2 type of authentications for single sharepoint application.
Claims based authentication provides us with a way of dealing with multiple sorts of authentication in one site.
So we have to create our web application as a “Claims based authentication”.
In SharePoint 2007 versions we used to create a new site for each authentication method (Windows, Forms), but in SP2010 no need to create 2 diff sites.
We can use both at the same time mean using single site. You can give single URL to your users, based on their mode the have to select in the drop down while accessing the SP2010 site. In the drop down it will show: Windows (Active Directory) of Forms (External) based authentication.
How to Change SharePoint authentication from classic mode to claims based
Click on Start–>All Programs -> SharePoint 2010 products -> Sharepoint 2010 Management Shell (run as a administrator)
Run below code by changing Webappname and account.
RUn Script related to claims based ……………
Now open Central Admin
Click on Central admin–>Manage Web Application
Click on web application which you have given while running script.
Click on Authentication Provider.
You can see in defaulr : Claim Based authentication
Claims-based authentication: which is built on Windows Identity Foundation (WIF).
Claims-based authentication is built on WIF, which is a set of .NET Framework classes that are used to implement claims-based identity. Claims-based authentication relies on standards such as WS-Federation, WS-Trust, and protocols such as SAML.
If you select claims-based authentication, SharePoint Server 2010 automatically changes all user accounts to claims identities, resulting in a claims token for each user. The claims token contains the claims pertaining to the user. Windows accounts are converted into Windows claims. Forms-based membership users are transformed into forms-based authentication claims. Claims that are included in SAML-based tokens can be used by SharePoint Server 2010. Additionally, SharePoint developers and administrators can augment user tokens with additional claims. For example, user Windows accounts and forms-based accounts can be augmented with additional claims that are used by SharePoint Server 2010.
Classic-mode authentication: which supports Windows authentication
If you select classic-mode, you can implement Windows authentication and the user accounts are treated by SharePoint Server 2010 as Active Directory Domain Services (AD DS) accounts.
how to get document name using object model code.
how to scrinc database.
what is correlation id in sharepoint
what is WFE and Application Server
Where can we define configuration value in sharepoint 2010 while developing a Feature or webpart. Ex: emailid
Q)I have a feature, i want to activate this while site creation. How can i do? with out clicking Active Feature.
Ans) Modifying the site definition (onet.xml file)
In Onet.xml file you can specify the features that you want to associate to this site definition in the SiteFeatures and WebFeatures elements. Site scoped features are placed in element and Web scoped features are placed in element. So, If your list template feature is Site scoped add a Feature node with feature GUID as its ID attribute inside element.
With this, the list template feature will be automatically activated when a site is created using this site definition.
Q) What is the default Authentication in sharepoint 2010 while creating a web application.
A) Classic Mode Authentication