Package es.caib.seycon.ng.sync.intf
Interface KerberosAgent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KerberosPrincipalInfocreateServerPrincipal(String server)Creates a kerberos principalStringfindPrincipalAccount(String principal)String[]getDomainNames()StringgetRealmName()String[]getRealmServers()StringparseKerberosToken(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
-
-