2017-01-06 2 views
0

1フォームからユーザー名とパスワードを対処するために、私の基本的なセキュリティ・フィルタを使用する方法:私の設定ミュールセキュリティ(3.8):

<flow name="SpringExample"> 
    <http:listener config-ref="alan-http" path="/mule-security" doc:name="HTTP"/> 
     <logger level="INFO" message="## received" doc:name="Logger"/> 
     <http:basic-security-filter realm="myFilter"> 
     </http:basic-security-filter> 
     <mule-ss:authorization-filter requiredAuthorities="ROLE_123"/> 
     <set-payload doc:description="" doc:name="Set Payload to a constant string" value="hello alan"/> 

    </flow> 

2があります:フィルターは、ユーザー名やパスワードなどを受け取ります生の流れ。 enter image description here

3:質問:ユーザー名とパスワードを処理するためにフィルタを作成します。 助けてください、ありがとう!

答えて

0

基本セキュリティフィルターでは、<http:basic-security-filter>の代わりに<mule-ss:http-security-filter realm="mule-realm"/>を使用する必要があります。

+0

thanks.but私は別の方法を見つける。 の代わりに alan

関連する問題