mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
56 lines
2 KiB
Java
56 lines
2 KiB
Java
/*
|
|
LinphoneAuthInfoImpl.java
|
|
Copyright (C) 2010 Belledonne Communications, Grenoble, France
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
package org.linphone.core;
|
|
|
|
class LinphoneAuthInfoImpl implements LinphoneAuthInfo {
|
|
protected final long nativePtr;
|
|
private native long newLinphoneAuthInfo(String username, String userid, String passwd, String ha1,String realm);
|
|
private native void delete(long ptr);
|
|
protected LinphoneAuthInfoImpl(String username,String password, String realm) {
|
|
nativePtr = newLinphoneAuthInfo(username,null,password,null,realm);
|
|
}
|
|
protected void finalize() throws Throwable {
|
|
delete(nativePtr);
|
|
}
|
|
public String getPassword() {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
}
|
|
public String getRealm() {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
}
|
|
public String getUsername() {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
}
|
|
public void setPassword(String password) {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
|
|
}
|
|
public void setRealm(String realm) {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
}
|
|
public void setUsername(String username) {
|
|
// TODO Auto-generated method stub
|
|
throw new RuntimeException("not implemeneted yet");
|
|
}
|
|
}
|