legacy-knowledge-base
公開されました Jul. 2, 2025

NameIDType.ENCRYPTED を解決できません

written-by

Dávid Hegedüs

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Weblogic 上の Liferay Portal 6.2 に SAML をデプロイした後、次のエラーが発生する場合があります。
    identity_provider.jsp:53:106: NameIDType.ENCRYPTED cannot be resolved
    <aui:option label="encrypted" selected="<%= nameIdFormat.equals(NameIDType.ENCRYPTED) %>" value="<%= NameIDType.ENCRYPTED %>" />
  • これは、Weblogic 10.3.6 で解決されない NameIDType.ENCRYPTED に関する Oracle のバグです。 「Weblogic 10.3.6 内部 JSP コンパイラが JSP コンパイルに不正なクラスパスを使用する」というバグは、 https://support.oracle.com/epmos/faces/ui/km/BugDisplay.jspx?id=17895529 にあります。残念ながら、サポート識別子のない単純な Oracle アカウントでは表示されません。

Environment

  • Liferay ポータル 6.2

解決策

  • Oracle が推奨する回避策は、Weblogic 12c にアップグレードすることです。
  • もう 1 つの回避策は、weblogic.xml で <prefer-web-inf-classes>true</prefer-web-inf-classes> を設定することです。これは、ファイルが既に存在するデプロイ済みのポートレットで行うか、デプロイするプラグイン war でファイルを作成します。

did-this-article-resolve-your-issue

legacy-knowledge-base