質問

FBAが構成されているWebアプリケーションを持ち、AAMを設定しました.1つは、内部ユーザー/ゾーン用(http://xyz.com)と外部ユーザー/ゾーン用(https://xyz.com)

私はWebアプリケーションを匿名アクセス有効にしてSSL&Aカスタムログインページを使用するように拡張しました(これはユーザーがカスタムログインページにアクセスするためのものです)。

指定されたURLの両方を閲覧することができます。

しかし、 https://xyz.com を閲覧すると、カスタムログインページが表示されませんが「認証されていないユーザー」を表示する一般的なページ(私のカスタムソリューションの)だけです。 もっと重要なことには、 https://xyz.comに入力した場合は、ログインページに到達できます。 / leayouts/customlogin.aspx

それはそこからすべてが良い。

外部ゾーンの匿名アクセスを削除すると、ログインページにアクセスすることができますが、アクセス(ページをクリックするだけで表示する場合)にアクセスできません(ページを更新する場合)、またはパスワードページを忘れてください。ログインページのリンク。

https://xyz.com を参照しているときにこのURLを修正するにはどうすればよいです。ログイン画面で、パスワードを忘れたパスワードにアクセスして、それぞれのリンクをクリックしてページを登録してください.?

ありがとう

役に立ちましたか?

解決

You should remove anonymous access on the web application's Extranet zone, and allow access to the login page in your web.config file. With anonymous access enabled there is no validated authentication required so it would make sense that your login page would not be displayed (the user is already authenticated as anonymous).

In your web.config try something like:

<location path="_layouts/MyLogin.aspx">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>

This will grant authorization (not authentication) to anonymous users accessing the site. Also, this doesn't open up the rest of the site to anonymous users, as opposed to enabling anonymous authentication in Central Administration.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top