クラス SecurityContextImpl

    • コンストラクターの詳細

      • SecurityContextImpl

        public SecurityContextImpl()
      • SecurityContextImpl

        public SecurityContextImpl​(Authentication authentication)
    • メソッドの詳細

      • equals

        public boolean equals​(java.lang.Object obj)
        オーバーライド:
        クラス java.lang.Objectequals 
      • getAuthentication

        public Authentication getAuthentication()
        インターフェースからコピーされた説明: SecurityContext
        現在認証されているプリンシパル、または認証リクエストトークンを取得します。
        次で指定:
        インターフェース SecurityContextgetAuthentication 
        戻り値:
        認証情報が利用できない場合は、Authentication または null 
      • hashCode

        public int hashCode()
        オーバーライド:
        クラス java.lang.ObjecthashCode 
      • setAuthentication

        public void setAuthentication​(Authentication authentication)
        インターフェースからコピーされた説明: SecurityContext
        現在認証されているプリンシパルを変更するか、認証情報を削除します。
        次で指定:
        インターフェース SecurityContextsetAuthentication 
        パラメーター:
        authentication - 新しい Authentication トークン、または認証情報をさらに保存する必要がない場合は null 
      • toString

        public java.lang.String toString()
        オーバーライド:
        クラス java.lang.ObjecttoString