sshd.setPasswordAuthenticator( new PasswordAuthenticator() {
@Override
public boolean authenticate( final String username,
final String password,
final ServerSession session ) {
return getUserPassAuthenticator().authenticate( username, password, new Session() {
@Override
public void setSubject( final Subject value ) {
session.setAttribute( BaseGitCommand.SUBJECT_KEY, value );
}