protected void configureHiOrgServerClient ( final Collection < BaseClient > properties ) { val hiOrgServer = pac4jProperties . getHiOrgServer ( ) ; if ( StringUtils . isNotBlank ( hiOrgServer . getId ( ) ) && StringUtils . isNotBlank ( hiOrgServer . getSecret ( ) ) ) { val client = new HiOrgServerClient ( hiOrgServer . getId ( ) , hiOrgServer . getSecret ( ) ) ; configureClient ( client , hiOrgServer ) ; if ( StringUtils . isNotBlank ( hiOrgServer . getScope ( ) ) ) { client . getConfiguration ( ) . setScope ( hiOrgServer . getScope ( ) ) ; } LOGGER . debug ( "Created client [{}] with identifier [{}]" , client . getName ( ) , client . getKey ( ) ) ; properties . add ( client ) ; } }
Configure HiOrg - Server client .