package Ġbr . av cal ian i . d mesh . security . user Ċ Ċ import Ġbr . av cal ian i . d mesh . component . user . User Ċ import Ġorg . springframework . security . core . Granted Authority Ċ import Ġorg . springframework . security . core . user details . UserDetails Ċ Ċ class ĠUser Details Impl ( private Ġval Ġuser : ĠUser ) Ġ: ĠUser Details Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Author ities () Ġ= Ġmutable ListOf < Granted Authority >() ĊĠĠĠ Ġoverride Ġfun Ġis Enabled () Ġ= Ġtrue ĊĠĠĠ Ġoverride Ġfun Ġget Username () Ġ= Ġuser . username ĊĠĠĠ Ġoverride Ġfun Ġis Credentials Non Expired () Ġ= Ġtrue ĊĠĠĠ Ġoverride Ġfun Ġget Password () Ġ= Ġuser . password ĊĠĠĠ Ġoverride Ġfun Ġis Account Non Expired () Ġ= Ġtrue ĊĠĠĠ Ġoverride Ġfun Ġis Account Non Locked () Ġ= Ġtrue Ċ }