Package es.caib.seycon.ng.sync.intf
Interface KerberosAgent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KerberosPrincipalInfo
createServerPrincipal(String server)
Creates a kerberos principalString
findPrincipalAccount(String principal)
String[]
getDomainNames()
String
getRealmName()
String[]
getRealmServers()
String
parseKerberosToken(String serverPrincipal, byte[] keytab, byte[] token)
-
-
-
Method Detail
-
createServerPrincipal
KerberosPrincipalInfo createServerPrincipal(String server) throws InternalErrorException
Creates a kerberos principal- Parameters:
name
- Principal namepassword
- Principal password- Returns:
- keytab
- Throws:
InternalErrorException
-
getRealmName
String getRealmName() throws InternalErrorException
- Throws:
InternalErrorException
-
getRealmServers
String[] getRealmServers() throws InternalErrorException
- Throws:
InternalErrorException
-
parseKerberosToken
String parseKerberosToken(String serverPrincipal, byte[] keytab, byte[] token) throws InternalErrorException
- Throws:
InternalErrorException
-
findPrincipalAccount
String findPrincipalAccount(String principal) throws InternalErrorException
- Throws:
InternalErrorException
-
getDomainNames
String[] getDomainNames() throws InternalErrorException
- Throws:
InternalErrorException
-
-