Set Id svn keyword.
This commit is contained in:
parent
5623c13038
commit
8081a1a3cc
|
|
@ -18,7 +18,8 @@ package org.springframework.security.remoting.dns;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This will be thrown, if no entry matches the specified DNS query
|
* This will be thrown if no entry matches the specified DNS query.
|
||||||
|
*
|
||||||
* @author Mike Wiesner
|
* @author Mike Wiesner
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@ package org.springframework.security.remoting.dns;
|
||||||
import org.springframework.dao.DataAccessException;
|
import org.springframework.dao.DataAccessException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This will be thrown for unknown DNS errors
|
* This will be thrown for unknown DNS errors.
|
||||||
|
*
|
||||||
* @author Mike Wiesner
|
* @author Mike Wiesner
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
package org.springframework.security.remoting.dns;
|
package org.springframework.security.remoting.dns;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper class for DNS operations
|
* Helper class for DNS operations.
|
||||||
*
|
*
|
||||||
* @author Mike Wiesner
|
* @author Mike Wiesner
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
|
|
@ -28,6 +28,7 @@ public interface DnsResolver {
|
||||||
/**
|
/**
|
||||||
* Resolves the IP Address (A record) to the specified host name.
|
* Resolves the IP Address (A record) to the specified host name.
|
||||||
* Throws DnsEntryNotFoundException if there is no record.
|
* Throws DnsEntryNotFoundException if there is no record.
|
||||||
|
*
|
||||||
* @param hostname The hostname for which you need the IP Address
|
* @param hostname The hostname for which you need the IP Address
|
||||||
* @return IP Address as a String
|
* @return IP Address as a String
|
||||||
* @throws DnsEntryNotFoundException No record found
|
* @throws DnsEntryNotFoundException No record found
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,6 @@ public class JndiDnsResolver implements DnsResolver {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private static class DefaultInitialContextFactory implements InitialContextFactory {
|
private static class DefaultInitialContextFactory implements InitialContextFactory {
|
||||||
|
|
||||||
public DirContext getCtx() {
|
public DirContext getCtx() {
|
||||||
|
|
@ -167,7 +166,4 @@ public class JndiDnsResolver implements DnsResolver {
|
||||||
return ictx;
|
return ictx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue