Refactor inbound message decoder selection into a distinct method (as in r2865 for...
authorputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 8 Jul 2009 23:59:40 +0000 (23:59 +0000)
committerputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 8 Jul 2009 23:59:40 +0000 (23:59 +0000)
commit08d1806868d9e9f608cb84b27789c2c084a61c73
tree5b8c5adae282fc289fbe6a55e248793c0e0e3ebc
parent0b4ee8426b41bba54c3c188b4197eed2d78dd13c
Refactor inbound message decoder selection into a distinct method (as in r2865 for outbound encoder):
1) consolidate logic and avoid duplication of code
2) check and avoid NPE's if decoder is null due to misconfiguration
3) allow subclasses to override decoder selection mechanism (re: uPortal work)

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2867 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/ArtifactResolution.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml1/AttributeQueryProfileHandler.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSOProfileHandler.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/ArtifactResolution.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/AttributeQueryProfileHandler.java
src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java