Hi,

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
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to