Question about velocity: using VelocityView
Karla Borecky
kborecky at smith.edu
Fri Oct 14 13:19:44 EDT 2016
I've been researching the custom object feature, and I saw examples of it
for use in the attribute resolving/creation, but that wouldn't help me here
because that happens after the auth piece has been completed, yes?
I know the CookieManager is in the global-config.xml conf file:
<bean id="shibboleth.PersistentCookieManager"
class="net.shibboleth.utilities.java.support.net.CookieManager"
p:httpServletRequest-ref="shibboleth.HttpServletRequest"
p:httpServletResponse-ref="shibboleth.HttpServletResponse"
p:secure="%{idp.cookie.secure:false}"
p:httpOnly="%{idp.cookie.httpOnly:true}"
p:cookieDomain="%{idp.cookie.domain:}"
p:cookiePath="%{idp.cookie.path:}"
p:maxAge="%{idp.cookie.maxAge:31536000}" />
but would I put a custom object in there? Doesn't seem like a file anyone
should be messing with.
I don't suppose you could give me an example piece of code using the cookie
manager? or if there is some API documentation I haven't found...? I saw
the example of a custom activation condition (
https://wiki.shibboleth.net/confluence/display/IDP30/SPNEGOAuthnConfiguration)
and from that I have a very general sense of how this would be created, but
it's vague at best.
I would really appreciate any examples anyone could provide.
Thanks, and happy Friday! -
Karla B
On Wed, Oct 12, 2016 at 2:07 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> > Thank you, Scott. That sounds like the way to go! I figured there must be
> > something reading cookies built into the code, since that's an important
> > component, but I didn't think I could use it.
>
> The java-support packages are API, so CookieManager is a stable interface
> until at least 4.0.
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
--
Karla Borecky
Systems Administrator
ITS
Smith College
Northampton, MA 01063
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161014/656b925e/attachment.html>
More information about the users
mailing list