shibboleth


shibboleth: resolving attributes based on multiple LDAP attributes


Using Shibboleth, is it possible to configure attribute-resolver.xml to set and release an attribute based on the existence of multiple LDAP attributes? For example, I want to release an "email" attribute to the service provider: if LDAP has an attribute and value for "email_2" then use that value ... otherwise use the value in LDAP attribute "email".
I got it hashed out using an embedded script ....
<resolver:AttributeDefinition id="setEmail" xsi:type="ad:Script" dependencyOnly="true">
<resolver:Dependency ref="myLDAP" />
<ad:Script><![CDATA[
importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);
setEmail = new BasicAttribute("setEmail");
if(typeof alt_email != "undefined" && alt_email !=null)
{
setEmail.getValues().add(alt_email.getValues().get(0));
}
else
{
setEmail.getValues().add(email.getValues().get(0));
}
]]></ad:Script>

Related Links

shibboleth: resolving attributes based on multiple LDAP attributes
Custom data connector attribute for Shibboleth
Handling multiple IDPs of different customers from one SP
Shibboleth PathRegexp alowed patterns
Unable to restart Shibboleth service
Can I define attributes with non-unique names but with different NameFormats?
Shibboleth 3 IDP or SP setup with IP address
How to pass Sp entityId from Idp to Shibboleth Sp?
Web Login Service - Access Denied (Shibboleth IdP 3)
Shibboleth 2.5 on IIS - Handler invoked at an unconfigured location
Shibboleth Configuration with ADFS 3.0 at the IDP sever
OKTA integration issue with Shibboleth SP
Shibboleth header attributes not being sent to all pages
how to customize login page for shibboleth idp
got error 404 while installing shibboleth, unable to get idp/status
Is it possible to connect Shibboleth idp from localhost?

Categories

HOME
cluster-computing
cil
sed
mapping
raspbian
firebase-app-indexing
windows-store-apps
sbt-assembly
recyclerview
xcode8.3
flann
ctypes
data-analysis
line-api
lenskit
lstm
riak
reduction
python-unicode
yeoman-generator
jpeg2000
primes
styles
deb
google-maps-android-api-2
prediction
apply
profile
csh
pdfsharp
auditing
skmaps
rhmap
vcard
vertex-buffer
superagent
sharp
ioc-container
android-vpn-service
graph-databases
division
viewstate
pox
openshift-enterprise
nodeclipse
elfinder
dql
poco-libraries
code-behind
alchemy.js
linq-to-entities
spring-bean
onmouseover
fqdn
drawingarea
mouseclick-event
struts-layout
scd
fedora20
pycurl
search-box
keycode
c64
c#-interactive
webkit2
uwp-maps
group-concat
site-prism
xjc
divide-by-zero
pgm
adobe-indesign
consensus
jcr-sql2
utf-32
cg
google-admin-audit-api
eclipse-classpath
proxies
level
ssms-addin
zipalign
loop-invariant
onselect
image-zoom
html-form-post
iconv
soa-suite
dynamic-data
tridion2009
fotoware
point-sprites
maven-ant-tasks
nssavepanel
wchar
curljs
easygui
django-nose
audiostreamer
msn
asp.net-routing
j-interop
task-management
unreachable-code
grooveshark
openvg
microsoft.ink

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App