|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
allowedAttributes not being storedHi, In my services management feature of cas3.2.1, inside my java code, say inside CentralAuthenticationServiceImpl.java, I am not able to retrieve the allowed attributes using registeredService.getAllowedAttributes(). So, I am trying to follow thru where this info is stored and retrieved. In, add.jsp there is a submit action that submits the selected list in a field, as follows. <form:select path="allowedAttributes" items="${availableAttributes}" multiple="true" /> and <div class="actions"> <button type="submit" class="primaryAction" id="submit-wf_FormGardenDemonst" value="Save Changes"><spring:message code="management.services.add.button.save" /></button> or <a href="manage.html" style="color:#b00;"><spring:message code="management.services.add.button.cancel" /></a> </div> I don't know jsp, but it seems the allowed attributes are selected in the view and submitted somewhere. I want the list of allowed attributes to be stored by the serviceRegistryDao in the mysql database I have set up. My services whitelist is currently being stored by serviceRegistryDao, that part works. I can look in the table and I see mostly everything looks correct, but there is binary stuff where the allowed attributes list should be. So, my question is: What code takes the allowed attributes "submit" action and stores the selected list in the database? Is it in JpaTransactionManager or the class I configured for attributeRepository? Thanks, Robert Lewis _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: allowedAttributes not being storedRobert,
Its using JPA/Hibernate to do the storage. Do you have the correct dialect set for Hibernate? I can give it a try under MySql, I think my notebook has it, but probably not until later or tomorrow.
-Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Thu, Jul 3, 2008 at 5:42 PM, Robert Lewis <r.lewis@...> wrote:
_______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
|
|
|
|
|
|
Re: allowedAttributes not being storedLet me know if it works! Just in case we need to make any changes before the 3.3 final release.
Thanks -Scott On Mon, Jul 14, 2008 at 3:16 PM, Robert Lewis <r.lewis@...> wrote: Hi, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
|
|
|
Re: allowedAttributes not being storedRobert,
This may seem like a completely dumb question but when you view the service in the Services Management tool, before you save it, are you selecting the attributes in the multi-valued dropdown and then pressing save?
AttributeRepository is used to display the list of potential attributes a service could access, while the Services Management tool allows you to select which ones it actually can access. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Tue, Jul 15, 2008 at 5:52 PM, Robert Lewis <r.lewis@...> wrote: Hi, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
|
|
|
Re: allowedAttributes not being storedRobert,
We made some changes to the way attributes are stored for 3.3-RC3. Can you check out the HEAD and see if that works? It stores them in a different table vs. the single column -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Jul 16, 2008 at 1:16 PM, Robert Lewis <r.lewis@...> wrote: Hi Scott, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
| Free Forum Powered by Nabble | Forum Help |