public class AuthenticationClientImpl extends ServiceClientImpl implements AuthenticationClient
Constructor and Description |
---|
AuthenticationClientImpl(URL serviceUrl) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String userId,
String password)
認証を行う。
|
protected org.apache.axis.client.Stub |
createStub(URL url) |
boolean |
isAdministrator()
ユーザが管理者であるかどうかを返す。
|
void |
nop() |
addRequestHeader, convert, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public AuthenticationClientImpl(URL serviceUrl)
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException
public boolean authenticate(String userId, String password) throws LangridException
AuthenticationClient
authenticate
in interface AuthenticationClient
userId
- ユーザ名password
- パスワードLangridException
- サービスの呼び出しに失敗したpublic void nop() throws LangridException
nop
in interface AuthenticationClient
LangridException
public boolean isAdministrator() throws LangridException
AuthenticationClient
isAdministrator
in interface AuthenticationClient
LangridException
- サービスの呼び出しに失敗した