Package tv.hd3g.authkit.mod.service
Class ExternalAuthClientLDAPServiceImpl
- java.lang.Object
-
- tv.hd3g.authkit.mod.service.ExternalAuthClientLDAPServiceImpl
-
- All Implemented Interfaces:
ExternalAuthClientService
@Service public class ExternalAuthClientLDAPServiceImpl extends Object implements ExternalAuthClientService
-
-
Constructor Summary
Constructors Constructor Description ExternalAuthClientLDAPServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getDefaultDomainName()booleanisAvailable()booleanisIPAllowedToCreateUserAccount(InetAddress address, String domain)ExternalAuthUserDtologonUser(String login, Password password, String domain)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tv.hd3g.authkit.mod.service.ExternalAuthClientService
isIPAllowedToCreateUserAccount, logonUser
-
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
- Specified by:
isAvailablein interfaceExternalAuthClientService
-
logonUser
public ExternalAuthUserDto logonUser(String login, Password password, String domain) throws UserCantLoginException
- Specified by:
logonUserin interfaceExternalAuthClientService- Throws:
UserCantLoginException
-
getDefaultDomainName
public Optional<String> getDefaultDomainName()
- Specified by:
getDefaultDomainNamein interfaceExternalAuthClientService
-
isIPAllowedToCreateUserAccount
public boolean isIPAllowedToCreateUserAccount(InetAddress address, String domain)
- Specified by:
isIPAllowedToCreateUserAccountin interfaceExternalAuthClientService
-
-