protected void configureBitBucketClient ( final Collection < BaseClient > properties ) { val bb = pac4jProperties . getBitbucket ( ) ; if ( StringUtils . isNotBlank ( bb . getId ( ) ) && StringUtils . isNotBlank ( bb . getSecret ( ) ) ) { val client = new BitbucketClient ( bb . getId ( ) , bb . getSecret ( ) ) ; configureClient ( client , bb ) ; LOGGER . debug ( "Created client [{}] with identifier [{}]" , client . getName ( ) , client . getKey ( ) ) ; properties . add ( client ) ; } }
Configure bitbucket client .