From: watanaby <>
Date: Thu, 29 Sep 2011 06:26:57 +0000 (+0000)
Subject: Ver.1.5.13: Added shibboleth and httpbasic auth.
X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8c0eccdae1652f628a8d1bf173359ae5861eb296;p=opengate%2Fopengate.git
Ver.1.5.13: Added shibboleth and httpbasic auth.
---
diff --git a/opengate/conf/opengatesrv.conf.sample b/opengate/conf/opengatesrv.conf.sample
index 5706158..ddb5da2 100644
--- a/opengate/conf/opengatesrv.conf.sample
+++ b/opengate/conf/opengatesrv.conf.sample
@@ -1,5 +1,5 @@
-
+
@@ -13,10 +13,10 @@
## Authentication servers (can set multiple servers) ##
## REFER document at the end of this file ## -->
-
- pop3s
+
+ pop3s
192.168.0.2
-
+
@@ -312,6 +312,45 @@
# The user is accepted or denied without inquiry.
# This setting is prepared for debugging.
+
+ #### TYPE 6 (Shibboleth) ####
+
+ shibboleth
+ -uid-env-var-
+
+
+ # Auth by Shibboleth
+ # Set 'opengatesrv.cgi/opengateauth.cgi' as SHIB-AUTH in .htaccess
+ #
+ # AuthType shibboleth
+ # ShibRequestSetting requireSession 1
+ # ShibRequireSession On
+ # ShibUseHeaders On
+ # require valid-user
+ #
+ #
+ # AuthType shibboleth
+ # ShibRequestSetting requireSession 1
+ # ShibRequireSession On
+ # ShibUseHeaders On
+ # require valid-user
+ #
+ # 'UidAttiribute' means the environment variable for UserId
+
+ #### TYPE 7 (Http Basic) ####
+
+ httpbasic
+
+
+ # Auth by http-basic
+ # Set 'opengatesrv.cgi' as BASIC-AUTH in .htaccess
+ #
+ # AuthType Basic
+ # AuthUserFile /tmp/passwd.dat
+ # AuthName "User"
+ # require valid-user
+ #
+ # environment variable REMOTE_USER is used for userid
-->
+
@@ -30,12 +35,12 @@ align=center bgColor=lightyellow border=1>
ãã®ãã¼ã¸ã移åãããéãããããã¨ããããã¯ã¼ã¯ãééããã¾ãã
-Webã®å©ç¨ã«ã¯ä¸ã®ãã¿ã³ãæ¼ãã¦è¡¨ç¤ºãããå¥ã¦ã¤ã³ãã¦ã使ã£ã¦ãã ããã
+Webã®å©ç¨ã«ã¯ä¸ã®ãã¿ã³ãæ¼ãã¦è¡¨ç¤ºããããã¼ã¿ã«ãµã¤ãã使ã£ã¦ãã ããã
@@ -68,6 +73,7 @@ Webã®å©ç¨ã«ã¯ä¸ã®ãã¿ã³ãæ¼ãã¦è¡¨ç¤ºãããå¥ã¦ã¤ã³ãã¦
ä¸ã®2æ¬ã®ç·ã®éã«[Error!]ã表示ãããã¨ãã¯ãå¥ã®ãã¼ã¸ãå©ç¨ãã¦ãã ãããåä½ãããããæã¯ãã©ã¦ã¶ãçµäºãã¦ããå試è¡ãã¦ãã ãããã¾ãèªè¨¼ç»é¢ã®å©ç¨æéãã£ã¼ã«ãã«å¤ããããã¨ããã®æéã ã使ç¨ãããã¨ãã§ãã¾ãã
+