<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itoasuka</author_name>
  <author_url>https://blog.hatena.ne.jp/itoasuka/</author_url>
  <blog_title>イトウ アスカ blog</blog_title>
  <blog_url>https://itoasuka.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Seasar</anon>
    <anon>Cubby</anon>
  </categories>
  <description>Cubby の5分間チュートリアルでやっているログインの仕組みを実業務にも採用するとしたら注意が必要です。 このチュートリアルでは、ログインされていなかったらログインページに飛ばすという処理をインターセプターで行っています。しかし、インターセプターということは、アクションのメソッドが呼ばれなければ実行されません！ つまり、バリデータではじかれた場合は、実行されないのです。なので、戻り先の jsp なんかはログインしていなくても見えてしまいます！ ということで、私は、Filter でこの手の処理を行っています。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitoasuka.hatenadiary.org%2Fentry%2F20081217%2F1229477643&quot; title=&quot; Cubby サンプルのログイン機能の罠 - イトウ アスカ blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-17 10:34:03</published>
  <title> Cubby サンプルのログイン機能の罠</title>
  <type>rich</type>
  <url>https://itoasuka.hatenadiary.org/entry/20081217/1229477643</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
