shibboleth


how to customize login page for shibboleth idp


I would like to customize the login page and I'm trying to follow the shibboleth wiki, but I'm not sure where to find " src/main/webapp/login.jsp within your IdP distribution package" in order to modify it. My shibboleth resides in /opt/shibboleth-idp, but I don't have a src folder in there. Any help would be appreciated.
(sorry this is two months late, but...)
the files for login are not stored inside your shibboleth-idp directory. (well, they're sorta in there...rolled into the java war file.)
somewhere, there should be a directory that was used to build your shibboleth-idp instance. many times i've seen it in the same folder as the shibboleth-idp folder, but it doesn't have to be. so since yours is /opt/shibboleth-idp, it might be at /opt/shibboleth-identityprovider-version.number. if not, use the find command as already suggested, but maybe try something like
find / -name 'shibboleth-identityprovider*' -ls 2>/dev/null
unless someone built it off-box, that folder should exist somewhere. inside there is the src directory where login.jsp resides.
the install script the shib doc tells you to run after making your changes is at the top level of that shibboleth-identityprovider-version.number folder too (install.sh for unix). when you run the install script, you tell it where to put the idp files (in your case, /opt/shibboleth-idp).
also, before running the install script, it's a good idea to back up your conf directory. you might accidentally tell the install script to overwrite it. or it might do it even if you told it not to (bug in some versions).
For IdP version 3, you can customize by changing the files in the "views" directory. These are Apache Velocity templates, and you can make changes that become active without having to rebuild the war file.
I recommend starting with the Linux find command:
find /opt/shibboleth-idp/ -name login.jsp

Related Links

Configuring Shibboleth to support WAYFless
Select one IdP by SP (Shibboleth)
Force Shibboleth to redirect to a specific URL after authentication
<RequestMap> of the XML file (shibboleth2.xml)
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

Categories

HOME
raspbian
webrtc
agile
otrs
qpython3
actionscript
command
spring-cloud-contract
pygame
aruco
xul
lenskit
rhapsody
saiku
jsonserializer
prediction
dspic
memsql
tflearn
branch
osmdroid
blackboard
devforce
consumer
stocks
pycparser
google-guava-cache
oscommerce
socketpair
topic-modeling
brute-force
wsadmin
xbim
ttcn
3scale
goquery
mcrypt
static-code-analysis
search-box
mercury
gmt
efxclipse
master
hspec
easing
linkageerror
multifile-uploader
gemini
axes
asymptote
test-class
java.util.calendar
mirrorlink
jericho-html-parser
stream-framework
ffserver
bridge
rspec3
callstack
adodb
word-2013
named-ranges
tcpreplay
ogr2ogr
humanizer
mfmailcomposeviewcontroll
alertifyjs
kraken.js
httpcontext
chrome-for-android
sim900
angulartics
ruboto
device-emulation
sametime
pys60
usn
ninject-extensions
jpf
signals2
ubuntu-11.04
msgbox
querystringparameter
executable-format
symbol-server
hibernate3-maven-plugin
clients
act

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