protected String getCssClass ( final String name ) { var computedCssClass = "fa fa-lock" ; if ( StringUtils . isNotBlank ( name ) ) { computedCssClass = computedCssClass . concat ( ' ' + PAC4J_CLIENT_CSS_CLASS_SUBSTITUTION_PATTERN . matcher ( name ) . replaceAll ( "-" ) ) ; } LOGGER . debug ( "CSS class for [{}] is [{}]" , name , computedCssClass ) ; return computedCssClass ; }
Get a valid CSS class for the given provider name .