I've solved the problem, I referenced my attribute repository and I modified
the attributeRepository bean and used
<map>
<entry key="username" ......
But now I have another question, I can only get one row of the table with
the current configuration,
If I like more than one row, how would you do?
With MultiRowJdbcPersonAttributeDao?
Should I activate the service manager?
For example:
In my application, a user can have multiple roles, each role has several
permissions and I don“t know how many there are roles and permissions in the
DB. The server must give the client all permissions and roles that belong to
the user.
Thanks very much.
-----Mensaje original-----
De: Marvin Addison [mailto:[email protected]]
Enviado el: viernes, 10 de septiembre de 2010 19:31
Para: [email protected]
Asunto: Re: [cas-user] Help with Saml11TicketValidationFilter
> I'll try what you say, but I would greatly appreciate you to send me an
> example when you can.
You simply need to reference your attribute repository in your
username/password resolver, e.g.:
<property name="credentialsToPrincipalResolvers">
<list>
<bean
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToP
rincipalResolver"
p:attributeRepository-ref="attributeRepository" />
...
</list>
</property>
M
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user