Skip to content

How to add jdbcAuthentication in Spittr Web Security #10

@hmeftah

Description

@hmeftah

Spittr Web Security in Chapiter seems to be not flexible enough to handle a jdbc Authentication
as following
protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth .jdbcAuthentication() .dataSource(dataSource) .usersByUsernameQuery( "select username, password " + "from splitter where username=?") .authoritiesByUsernameQuery("select username, 'ROLE_USER' from Spitter where username=?"); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions