Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S SharePoint Automatic Signin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • CodePlex
  • SharePoint Automatic Signin
  • Wiki
  • Configuration

Configuration · Changes

Page history
Add image to wiki Configuration authored Apr 25, 2018 by Laurent Sittler's avatar Laurent Sittler
Hide whitespace changes
Inline Side-by-side
Showing with 61 additions and 61 deletions
+61 -61
  • Configuration.md Configuration.md +61 -61
  • No files found.
Configuration.md 100755 → 100644
View page @ 41451d42
## Mapping configuration
In the SharePoint 2010 Management Console
First load the custom Powershell snapin
```powershell
Add-PSSnapin ClaimsSignInAdmin
```
Create a configuration object. Note: the url is the url of your web application
```powershell
$config = Get-SPSignInConfiguration -webapplication "http://www.website.com"
```
### Managing the mappings
#### View all mappings
```powershell
$config.ProviderMappings
```
#### Add a mapping
```powershell
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
#### Remove a mapping
```powershell
$config.ProviderMappings.Remove("192.168.20.*")
$config.Update()
```
#### Clear all mappings
```powershell
$config.ProviderMappings.Clear()
$config.Update()
```
### Example: configure 192.168.0.* to use Windows authentication for the web application https://intranet.litwareinc.com
```powershell
Add-PSSnapin ClaimsSignInAdmin
$config = Get-SPSignInConfiguration -webapplication "https://intranet.litwareinc.com"
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
## Configure the sign in page
In the SharePoint 2010 Central Administration<br />>
Manage Web Applications -> Select web application -> Authentication Providers -> Select zone (Default)<br />
Scroll down to **Sign In Page URL** <br />
Select Custom Sign In Page <br />
Enter _login/autosignin.aspx
![Configure sign in page](Configuration_signinpage.png)
## Mapping configuration
In the SharePoint 2010 Management Console
First load the custom Powershell snapin
```powershell
Add-PSSnapin ClaimsSignInAdmin
```
Create a configuration object. Note: the url is the url of your web application
```powershell
$config = Get-SPSignInConfiguration -webapplication "http://www.website.com"
```
### Managing the mappings
#### View all mappings
```powershell
$config.ProviderMappings
```
#### Add a mapping
```powershell
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
#### Remove a mapping
```powershell
$config.ProviderMappings.Remove("192.168.20.*")
$config.Update()
```
#### Clear all mappings
```powershell
$config.ProviderMappings.Clear()
$config.Update()
```
### Example: configure 192.168.0.* to use Windows authentication for the web application https://intranet.litwareinc.com
```powershell
Add-PSSnapin ClaimsSignInAdmin
$config = Get-SPSignInConfiguration -webapplication "https://intranet.litwareinc.com"
$config.ProviderMappings.Add("192.168.20.*","Windows Authentication")
$config.Update()
```
## Configure the sign in page
In the SharePoint 2010 Central Administration<br />>
Manage Web Applications -> Select web application -> Authentication Providers -> Select zone (Default)<br />
Scroll down to **Sign In Page URL** <br />
Select Custom Sign In Page <br />
Enter _login/autosignin.aspx
![Configuration_signinpage](/uploads/bc11e70ad097ad7a3e1aad3e08c71f4f/Configuration_signinpage.png)
Clone repository
  • Background
  • Build
  • Configuration
  • Deployment
  • Features
  • Home
  • setupIE