397049 Cannot Provide Custom Credential to JDBCLoginService
This commit is contained in:
parent
499d811ba7
commit
8b305e208c
|
@ -261,7 +261,7 @@ public class JDBCLoginService extends MappedLoginService
|
|||
roles.add(rs2.getString(_roleTableRoleField));
|
||||
}
|
||||
}
|
||||
return putUser(username, Credential.getCredential(credentials),roles.toArray(new String[roles.size()]));
|
||||
return putUser(username, credentials, roles.toArray(new String[roles.size()]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -273,6 +273,13 @@ public class JDBCLoginService extends MappedLoginService
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
protected UserIdentity putUser (String username, String credentials, String[] roles)
|
||||
{
|
||||
return putUser(username, Credential.getCredential(credentials),roles);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Close an existing connection
|
||||
|
|
Loading…
Reference in New Issue