Hi,
I did cas mysql authentication. I want to send cas service to the user's 
email address. Add attribute, but not. Can you help me?

application.properties

cas.authn.accept.users=


cas.authn.jdbc.query[0].fieldUser=username


cas.authn.jdbc.query[0].sql=SELECT password FROM users WHERE username=?


cas.authn.jdbc.query[0].healthQuery=SELECT 1 FROM db.users


cas.authn.jdbc.query[0].tableUsers=users


cas.authn.jdbc.query[0].fieldPassword=password


cas.authn.jdbc.query[0].url=jdbc:mysql://localhost:3306/db


cas.authn.jdbc.query[0].user=root


cas.authn.jdbc.query[0].password=***


cas.authn.jdbc.query[0].driverClass=com.mysql.jdbc.Driver


cas.authn.jdbc.query[0].passwordEncoder.type=DEFAULT


cas.authn.jdbc.query[0].passwordEncoder.characterEncoding=UTF-8


cas.authn.jdbc.query[0].passwordEncoder.encodingAlgorithm=SHA-256


cas.authn.jdbc.query[0].passwordEncoder.secret=


cas.authn.jdbc.query[0].passwordEncoder.strength=16


cas.authn.jdbc.query[0].principalAttributeList=email,mail



cas.authn.attributeRepository.jdbc.sql=SELECT * FROM users WHERE {0}

cas.authn.attributeRepository.jdbc.username=username

cas.authn.attributeRepository.jdbc.healthQuery=

cas.authn.attributeRepository.jdbc.url=jdbc:mysql://localhost:3306/db

cas.authn.attributeRepository.jdbc.singleRow=true

cas.authn.attributeRepository.jdbc.user=root

cas.authn.attributeRepository.jdbc.password=***

cas.authn.attributeRepository.attributes.email=email

cas.authn.attributeRepository.attributes.mail=mail

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

Reply via email to