Refactor outbound message encoder selection into a distinct method to:
authorputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jul 2009 18:00:44 +0000 (18:00 +0000)
committerputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jul 2009 18:00:44 +0000 (18:00 +0000)
commit16fd8175bb13ee06af713b96a7dd3f607de1c0ef
treeaa31f52361a73575b1b6cad43d1a3414c87992ca
parentbe4d8e3d1d0e8984d086ea17dec0394f449a3826
Refactor outbound message encoder selection into a distinct method to:
1) consolidate logic and avoid duplication of code
2) check and avoid NPE's if endpoint or binding is null due to misconfiguration
3) allow subclasses to override encoder selection mechanism (re: uPortal work)

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2865 ab3bd59b-922f-494d-bb5f-6f0a3c29deca
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/AbstractSAMLProfileHandler.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml1/AbstractSAML1ProfileHandler.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java