Permalink
Browse files

Normalize file endings.

Fixes for git hub windows usage.
  • Loading branch information...
1 parent a8915c0 commit b10cf67db90ed36d8e0132734303cb6838cc6b95 @hazendaz hazendaz committed Aug 18, 2012
Showing with 4,519 additions and 4,497 deletions.
  1. +22 −0 .gitattributes
  2. +2 −2 Source/JNA/demo/waffle-filter/META-INF/context.xml
  3. +8 −8 Source/JNA/demo/waffle-form/META-INF/context.xml
  4. +8 −8 Source/JNA/demo/waffle-form/error.html
  5. +7 −7 Source/JNA/demo/waffle-form/jaas.policy
  6. +7 −7 Source/JNA/demo/waffle-form/login.conf
  7. +22 −22 Source/JNA/demo/waffle-form/login.jsp
  8. +8 −8 Source/JNA/demo/waffle-jaas/META-INF/context.xml
  9. +7 −7 Source/JNA/demo/waffle-jaas/jaas.policy
  10. +7 −7 Source/JNA/demo/waffle-jaas/login.conf
  11. +8 −8 Source/JNA/demo/waffle-mixed-post/401.html
  12. +4 −4 Source/JNA/demo/waffle-mixed-post/META-INF/context.xml
  13. +8 −8 Source/JNA/demo/waffle-mixed-post/error.html
  14. +28 −28 Source/JNA/demo/waffle-mixed-post/login.jsp
  15. +8 −8 Source/JNA/demo/waffle-mixed/401.html
  16. +4 −4 Source/JNA/demo/waffle-mixed/META-INF/context.xml
  17. +8 −8 Source/JNA/demo/waffle-mixed/error.html
  18. +26 −26 Source/JNA/demo/waffle-mixed/login.jsp
  19. +8 −8 Source/JNA/demo/waffle-negotiate/401.html
  20. +4 −4 Source/JNA/demo/waffle-negotiate/META-INF/context.xml
  21. +2 −2 Source/JNA/demo/waffle-spring-filter/META-INF/context.xml
  22. +2 −2 Source/JNA/demo/waffle-spring-form/META-INF/context.xml
  23. +12 −12 Source/JNA/demo/waffle-spring-form/WEB-INF/log4j.properties
  24. +22 −22 Source/JNA/demo/waffle-spring-form/login.jsp
  25. +17 −17 Source/JNA/waffle-core/.project
  26. +11 −11 Source/ThirdParty/.project
  27. +7 −7 Source/Version/Properties/AssemblyInfo.cs
  28. +62 −62 Source/Version/Version.csproj
  29. +5 −5 Source/Version/Version.properties.template
  30. +12 −12 Source/Version/Version.wxi.template
  31. +247 −247 Source/WindowsAuthProvider/Advapi32.cs
  32. +26 −26 Source/WindowsAuthProvider/IWindowsAccount.cs
  33. +147 −147 Source/WindowsAuthProvider/IWindowsAuthProvider.cs
  34. +34 −34 Source/WindowsAuthProvider/IWindowsComputer.cs
  35. +42 −42 Source/WindowsAuthProvider/IWindowsDomain.cs
  36. +43 −43 Source/WindowsAuthProvider/IWindowsIdentity.cs
  37. +22 −22 Source/WindowsAuthProvider/IWindowsImpersonationContext.cs
  38. +37 −37 Source/WindowsAuthProvider/IWindowsSecurityContext.cs
  39. +33 −33 Source/WindowsAuthProvider/Kernel32.cs
  40. +18 −18 Source/WindowsAuthProvider/LMCons.cs
  41. +177 −177 Source/WindowsAuthProvider/Netapi32.cs
  42. +7 −7 Source/WindowsAuthProvider/Properties/AssemblyInfo.cs
  43. +844 −844 Source/WindowsAuthProvider/Secur32.cs
  44. +29 −29 Source/WindowsAuthProvider/Windows.cs
  45. +128 −128 Source/WindowsAuthProvider/WindowsAccountImpl.cs
  46. +74 −74 Source/WindowsAuthProvider/WindowsAccountName.cs
  47. +25 −25 Source/WindowsAuthProvider/WindowsAuthIdentity.cs
  48. +251 −251 Source/WindowsAuthProvider/WindowsAuthProvider.cs
  49. +87 −87 Source/WindowsAuthProvider/WindowsAuthProvider.csproj
  50. +12 −12 Source/WindowsAuthProvider/WindowsAuthProviderNamespace.xml
  51. +128 −128 Source/WindowsAuthProvider/WindowsComputerImpl.cs
  52. +102 −102 Source/WindowsAuthProvider/WindowsCredentialsHandle.cs
  53. +150 −150 Source/WindowsAuthProvider/WindowsDomainCollection.cs
  54. +107 −107 Source/WindowsAuthProvider/WindowsDomainImpl.cs
  55. +123 −123 Source/WindowsAuthProvider/WindowsIdentityImpl.cs
  56. +41 −41 Source/WindowsAuthProvider/WindowsImpersonationContextImpl.cs
  57. +258 −258 Source/WindowsAuthProvider/WindowsSecurityContext.cs
  58. +115 −115 Source/WindowsAuthProviderMergeModule/WindowsAuthProviderMergeModule.wixproj
  59. +66 −66 Source/WindowsAuthProviderMergeModule/WindowsAuthProviderMergeModule.wxs
  60. +6 −6 Source/WindowsAuthProviderUnitTests/Properties/AssemblyInfo.cs
  61. +23 −23 Source/WindowsAuthProviderUnitTests/WindowsAccountUnitTests.cs
  62. +12 −12 Source/WindowsAuthProviderUnitTests/WindowsAuthProvider.vbs
  63. +128 −128 Source/WindowsAuthProviderUnitTests/WindowsAuthProviderLocalUnitTests.cs
  64. +184 −184 Source/WindowsAuthProviderUnitTests/WindowsAuthProviderUnitTests.cs
  65. +71 −71 Source/WindowsAuthProviderUnitTests/WindowsAuthProviderUnitTests.csproj
  66. +21 −21 Source/WindowsAuthProviderUnitTests/WindowsCredentialsHandleUnitTests.cs
  67. +73 −73 Source/WindowsAuthProviderUnitTests/WindowsSecurityContextUnitTests.cs
  68. +42 −42 Version.proj
  69. +98 −98 Waffle.proj
  70. +80 −80 Waffle.sln
  71. +52 −52 build.cmd
View
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
@@ -1,3 +1,3 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Context>
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
</Context>
@@ -1,9 +1,9 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Context>
- <Realm className="org.apache.catalina.realm.JAASRealm"
- appName="Jaas"
- userClassNames="waffle.jaas.UserPrincipal"
- roleClassNames="waffle.jaas.RolePrincipal"
- useContextClassLoader="false"
- debug="true" />
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
+ <Realm className="org.apache.catalina.realm.JAASRealm"
+ appName="Jaas"
+ userClassNames="waffle.jaas.UserPrincipal"
+ roleClassNames="waffle.jaas.RolePrincipal"
+ useContextClassLoader="false"
+ debug="true" />
</Context>
@@ -1,8 +1,8 @@
-<html>
-<head>
-<title>Error</title>
-</head>
-</html>
-<body>
-An error has occurred.
-</body>
+<html>
+<head>
+<title>Error</title>
+</head>
+</html>
+<body>
+An error has occurred.
+</body>
@@ -1,7 +1,7 @@
-//
-// -Djava.security.auth.policy=<path-to-file>/jaas.policy
-//
-
-grant Principal * * {
- permission java.security.AllPermission "/*";
-};
+//
+// -Djava.security.auth.policy=<path-to-file>/jaas.policy
+//
+
+grant Principal * * {
+ permission java.security.AllPermission "/*";
+};
@@ -1,7 +1,7 @@
-//
-// -Djava.security.auth.login.config=<path-to-file>/login.conf
-//
-
-Jaas {
- waffle.jaas.WindowsLoginModule sufficient debug=true principalFormat=both roleFormat=fqn;
-};
+//
+// -Djava.security.auth.login.config=<path-to-file>/login.conf
+//
+
+Jaas {
+ waffle.jaas.WindowsLoginModule sufficient debug=true principalFormat=both roleFormat=fqn;
+};
@@ -1,22 +1,22 @@
-<html>
-<head>
-<title>Login</title>
-</head>
-</html>
-<body>
-<form method="POST" name="loginform" action="j_security_check">
-<table style="vertical-align: middle;">
- <tr>
- <td>Username:</td>
- <td><input type="text" name="j_username" /></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="j_password" /></td>
- </tr>
- <tr>
- <td><input type="submit" value="Login" /></td>
- </tr>
-</table>
-</form>
-</body>
+<html>
+<head>
+<title>Login</title>
+</head>
+</html>
+<body>
+<form method="POST" name="loginform" action="j_security_check">
+<table style="vertical-align: middle;">
+ <tr>
+ <td>Username:</td>
+ <td><input type="text" name="j_username" /></td>
+ </tr>
+ <tr>
+ <td>Password:</td>
+ <td><input type="password" name="j_password" /></td>
+ </tr>
+ <tr>
+ <td><input type="submit" value="Login" /></td>
+ </tr>
+</table>
+</form>
+</body>
@@ -1,9 +1,9 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Context>
- <Realm className="org.apache.catalina.realm.JAASRealm"
- appName="Jaas"
- userClassNames="waffle.jaas.UserPrincipal"
- roleClassNames="waffle.jaas.RolePrincipal"
- useContextClassLoader="false"
- debug="true" />
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
+ <Realm className="org.apache.catalina.realm.JAASRealm"
+ appName="Jaas"
+ userClassNames="waffle.jaas.UserPrincipal"
+ roleClassNames="waffle.jaas.RolePrincipal"
+ useContextClassLoader="false"
+ debug="true" />
</Context>
@@ -1,7 +1,7 @@
-//
-// -Djava.security.auth.policy=<path-to-file>/jaas.policy
-//
-
-grant Principal * * {
- permission java.security.AllPermission "/*";
-};
+//
+// -Djava.security.auth.policy=<path-to-file>/jaas.policy
+//
+
+grant Principal * * {
+ permission java.security.AllPermission "/*";
+};
@@ -1,7 +1,7 @@
-//
-// -Djava.security.auth.login.config=<path-to-file>/login.conf
-//
-
-Jaas {
- waffle.jaas.WindowsLoginModule sufficient debug=true principalFormat=both roleFormat=fqn;
-};
+//
+// -Djava.security.auth.login.config=<path-to-file>/login.conf
+//
+
+Jaas {
+ waffle.jaas.WindowsLoginModule sufficient debug=true principalFormat=both roleFormat=fqn;
+};
@@ -1,8 +1,8 @@
-<html>
- <head>
- <title>Access Denied (Waffle)</title>
- </head>
- <body>
- Access Denied
- </body>
-</html>
+<html>
+ <head>
+ <title>Access Denied (Waffle)</title>
+ </head>
+ <body>
+ Access Denied
+ </body>
+</html>
@@ -1,5 +1,5 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Context>
- <Valve className="waffle.apache.MixedAuthenticator" principalFormat="fqn" roleFormat="both" allowGuestLogin="false" />
- <Realm className="waffle.apache.WindowsRealm" />
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
+ <Valve className="waffle.apache.MixedAuthenticator" principalFormat="fqn" roleFormat="both" allowGuestLogin="false" />
+ <Realm className="waffle.apache.WindowsRealm" />
</Context>
@@ -1,8 +1,8 @@
-<html>
-<head>
-<title>Error</title>
-</head>
-</html>
-<body>
-An error has occurred.
-</body>
+<html>
+<head>
+<title>Error</title>
+</head>
+</html>
+<body>
+An error has occurred.
+</body>
@@ -1,28 +1,28 @@
-<html>
-<head>
-<title>Login</title>
-</head>
-</html>
-<body>
-<form method="POST" name="loginform" action="index.jsp">
-<table style="vertical-align: middle;">
- <tr>
- <td>Username:</td>
- <td><input type="text" name="j_username" /></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="j_password" /></td>
- </tr>
- <tr>
- <td><input type="submit" value="Login" /></td>
- </tr>
-</table>
-<input type="hidden" name="j_security_check"/>
-</form>
-<hr>
-<form method="POST" name="loginform" action="index.jsp">
- <input type="hidden" name="j_negotiate_check"/>
- <input type="submit" value="Login w/ Current Windows Credentials" />
-</form>
-</body>
+<html>
+<head>
+<title>Login</title>
+</head>
+</html>
+<body>
+<form method="POST" name="loginform" action="index.jsp">
+<table style="vertical-align: middle;">
+ <tr>
+ <td>Username:</td>
+ <td><input type="text" name="j_username" /></td>
+ </tr>
+ <tr>
+ <td>Password:</td>
+ <td><input type="password" name="j_password" /></td>
+ </tr>
+ <tr>
+ <td><input type="submit" value="Login" /></td>
+ </tr>
+</table>
+<input type="hidden" name="j_security_check"/>
+</form>
+<hr>
+<form method="POST" name="loginform" action="index.jsp">
+ <input type="hidden" name="j_negotiate_check"/>
+ <input type="submit" value="Login w/ Current Windows Credentials" />
+</form>
+</body>
@@ -1,8 +1,8 @@
-<html>
- <head>
- <title>Access Denied (Waffle)</title>
- </head>
- <body>
- Access Denied
- </body>
-</html>
+<html>
+ <head>
+ <title>Access Denied (Waffle)</title>
+ </head>
+ <body>
+ Access Denied
+ </body>
+</html>
@@ -1,5 +1,5 @@
-<?xml version='1.0' encoding='utf-8'?>
-<Context>
- <Valve className="waffle.apache.MixedAuthenticator" principalFormat="fqn" roleFormat="both" allowGuestLogin="false" />
- <Realm className="waffle.apache.WindowsRealm" />
+<?xml version='1.0' encoding='utf-8'?>
+<Context>
+ <Valve className="waffle.apache.MixedAuthenticator" principalFormat="fqn" roleFormat="both" allowGuestLogin="false" />
+ <Realm className="waffle.apache.WindowsRealm" />
</Context>
@@ -1,8 +1,8 @@
-<html>
-<head>
-<title>Error</title>
-</head>
-</html>
-<body>
-An error has occurred.
-</body>
+<html>
+<head>
+<title>Error</title>
+</head>
+</html>
+<body>
+An error has occurred.
+</body>
@@ -1,26 +1,26 @@
-<html>
-<head>
-<title>Login</title>
-</head>
-</html>
-<body>
-<form method="POST" name="loginform" action="index.jsp?j_security_check">
-<table style="vertical-align: middle;">
- <tr>
- <td>Username:</td>
- <td><input type="text" name="j_username" /></td>
- </tr>
- <tr>
- <td>Password:</td>
- <td><input type="password" name="j_password" /></td>
- </tr>
- <tr>
- <td><input type="submit" value="Login" /></td>
- </tr>
-</table>
-</form>
-<hr>
-<form method="POST" name="loginform" action="index.jsp?j_negotiate_check">
- <input type="submit" value="Login w/ Current Windows Credentials" />
-</form>
-</body>
+<html>
+<head>
+<title>Login</title>
+</head>
+</html>
+<body>
+<form method="POST" name="loginform" action="index.jsp?j_security_check">
+<table style="vertical-align: middle;">
+ <tr>
+ <td>Username:</td>
+ <td><input type="text" name="j_username" /></td>
+ </tr>
+ <tr>
+ <td>Password:</td>
+ <td><input type="password" name="j_password" /></td>
+ </tr>
+ <tr>
+ <td><input type="submit" value="Login" /></td>
+ </tr>
+</table>
+</form>
+<hr>
+<form method="POST" name="loginform" action="index.jsp?j_negotiate_check">
+ <input type="submit" value="Login w/ Current Windows Credentials" />
+</form>
+</body>
Oops, something went wrong.

0 comments on commit b10cf67

Please sign in to comment.