public void setDefaultTokens ( final List < HttpSessionToken > tokens ) { this . defaultTokens = tokens ; saveDefaultTokens ( ) ; this . defaultTokensEnabled = defaultTokens . stream ( ) . filter ( HttpSessionToken :: isEnabled ) . map ( HttpSessionToken :: getName ) . collect ( Collectors . toList ( ) ) ; }
Sets the default tokens .