protected SubjectLocality buildSubjectLocality ( final Object assertion , final RequestAbstractType authnRequest , final SamlRegisteredServiceServiceProviderMetadataFacade adaptor , final String binding ) throws SamlException { val subjectLocality = newSamlObject ( SubjectLocality . class ) ; val hostAddress = InetAddressUtils . getCasServerHostAddress ( casProperties . getServer ( ) . getName ( ) ) ; val issuer = SamlIdPUtils . getIssuerFromSamlObject ( authnRequest ) ; LOGGER . debug ( "Built subject locality address [{}] for the saml authentication statement prepped for [{}]" , hostAddress , issuer ) ; subjectLocality . setAddress ( hostAddress ) ; return subjectLocality ; }
Build subject locality subject locality .