Spring Security配置命名空间 - authentication-provider

<authentication-provider user-service-ref="string">

<user-service id="string" properties="string">

<user name="string" password="string" authorities="string"

locked="boolean" disabled="boolean"/>

</user-service>

<jdbc-user-service id="string"

data-source-ref="string"

cache-ref="string"

users-by-username-query="string"

authorities-by-username-query="string"

group-authorities-by-username-query="string"

role-prefix="string"/>

<ldap-user-service id="string"

ldap-server-ref="string"

user-search-filter="string"

user-search-base="string"

group-search-filter="string"

group-search-base="string"

group-role-attribute="string"

cache-ref="string"

role-prefix="string"

user-details-class="string"/>

<password-encoder hash="plaintext|sha|sha-256|md5|md4|{sha}|{ssha}"

base64="boolean">

<salt-source user-property="string" system-wide="string"/>

</password-encoder>

</authentication-provider>

posted @ 2011-01-14 16:39  Jamie  阅读(2049)  评论(0编辑  收藏  举报