Trying to extract a string and return it to the SP as an attribute.

Chad La Joie lajoie at itumi.biz
Wed Jun 27 20:59:02 BST 2012


Using the RegexSplit definition is probably easier in this case.

On Wed, Jun 27, 2012 at 2:20 PM, Kevin P. Foote <kpfoote at iup.edu> wrote:
>
> I would define a scripted attribute for this (doc here[1]). You can
> of course have your script depend on any number of sources to get your
> original string "faculty/XX"..
>
>
> [1]
> https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttributeDefinition
>
>
> ------
> thanks
>  kevin.foote
>
> On Wed, 27 Jun 2012, Leonard Kroll wrote:
>
> -> Hi,
> ->           How do I go about extracting "faculty" from "faculty/xx and then
> -> return faculty to the SP?
> ->
> ->           The string faculty could also be student/xx or staff/xx.
> ->           Where the "xx" can be any string.
> ->
> -> ~lennyK
> ->
> -> Leonard Kroll
> -> UNIX / GIS Administrator
> -> Univ. Massachusetts Boston
> ->  <mailto:at at umb.edu> Leonard(dot)Kroll(at)umb.edu
> -> Phone: 617-287-5048
> -> fax:      617-287-5224
> ->
> ->
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net



-- 
Chad La Joie
www.itumi.biz
trusted identities, delivered


More information about the users mailing list