此内容没有您所选择的语言版本。
15.13.5. Logging out
Logging out (forgetting an OpenID association) is done by calling
#{openid.logout}
. You can call this method directly if you are not using Seam Security. If you are using Seam Security, you should continue to use #{identity.logout}
and install an event handler to capture the log out event, calling the OpenID log out method.
<event type="org.jboss.seam.security.loggedOut"> <action execute="#{openid.logout}" /> </event>
<event type="org.jboss.seam.security.loggedOut">
<action execute="#{openid.logout}" />
</event>
It is important to include this, or the user will not be able to log in again in the same session.