Package tv.hd3g.authkit.mod.service
Interface ExternalAuthClientService
-
- All Known Implementing Classes:
ExternalAuthClientLDAPServiceImpl
public interface ExternalAuthClientService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<String>getDefaultDomainName()booleanisAvailable()default booleanisIPAllowedToCreateUserAccount(InetAddress address)booleanisIPAllowedToCreateUserAccount(InetAddress address, String domain)default ExternalAuthUserDtologonUser(String login, Password password)ExternalAuthUserDtologonUser(String login, Password password, String domain)
-
-
-
Method Detail
-
isAvailable
boolean isAvailable()
-
logonUser
ExternalAuthUserDto logonUser(String login, Password password, String domain) throws UserCantLoginException
- Throws:
UserCantLoginException
-
isIPAllowedToCreateUserAccount
boolean isIPAllowedToCreateUserAccount(InetAddress address, String domain)
-
logonUser
default ExternalAuthUserDto logonUser(String login, Password password) throws UserCantLoginException
- Throws:
UserCantLoginException
-
isIPAllowedToCreateUserAccount
default boolean isIPAllowedToCreateUserAccount(InetAddress address)
-
-