質問

私はwebsphere7.0.使っているからセキュリティアプリケーションサーバ.いを取り除くのユーザ、ユーザーにリダイレクトにログインページのアクセス安全なリソース(た。getUserPrincipal()はnullを返します).

ようにしてい:

ます。getSession().invalidate();

そのユーザ主体が関連付けます。

どのようにしたら良いですか取り除いております。

役に立ちましたか?

解決

Websphere、特別な使用形式callesするには:

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tsec_pofolo.html

こちらかを使用してい:

<body onload="javascript:document.logout.submit()">
    <h2>Sample Form Logout</h2>
    <form METHOD=POST ACTION="ibm_security_logout" NAME="logout">
    Click this button to log out:
    <input type="submit" name="logout" value="Logout">
    <INPUT TYPE="HIDDEN" name="logoutExitPage" VALUE="/some url">
    </form>
</body>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top