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?p=opengate%2Fopengate.git;a=commitdiff_plain;h=8c0eccdae1652f628a8d1bf173359ae5861eb296 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!]が表示されたときは、別のページを利用してください。動作がおかしい時はブラウザを終了してから再試行してください。また認証画面の利用時間フィールドに値をいれると、その時間だけ使用することができます。

+