Class IssacLDAPFINDERLIST

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class IssacLDAPFINDERLIST
    extends java.lang.Object
    implements java.io.Closeable
    USR 모듈에서 LDAP 관련 method들을 정의해 놓은 클래스
    • Constructor Summary

      Constructors 
      Constructor Description
      IssacLDAPFINDERLIST()
      찾는 DN에 따라 어떠한 LDAP에 접속을 하고, 그 디렉토리의 설정 값들 (ip, port, 인증서 attribute 이름, crl attribute 이름, base dn)의 목록 개체를 초기화 한다.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void Add​(java.lang.String ip, int port, java.lang.String basedn, java.lang.String certattribute, java.lang.String crlattribute, java.lang.String finding_base)
      LDAPFINDERLIST에 새로운 LDAPFINDER를 추가한다.
      void close()  
      void Delete()
      Deprecated.
      Resource Leak 의 효율적인 관리를 위해 close() 를 사용할 것을 권장함.
      byte[] getLdapfinderlist()
      Deprecated.
      참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IssacLDAPFINDERLIST

        public IssacLDAPFINDERLIST()
                            throws IssacSDKException
        찾는 DN에 따라 어떠한 LDAP에 접속을 하고, 그 디렉토리의 설정 값들 (ip, port, 인증서 attribute 이름, crl attribute 이름, base dn)의 목록 개체를 초기화 한다.

        Note: 사용이 끝나면 close()를 호출해야 한다.

        Throws:
        IssacSDKException - 오류 발생
        See Also:
        close()
    • Method Detail

      • getLdapfinderlist

        public byte[] getLdapfinderlist()
        Deprecated.
        참조값은 바이너리 데이터가 아니므로 외부에선 절대 사용하지 않도록 한다!
        IssacLDAPFINDERLIST 객체의 참조값을 반환한다.
        Returns:
        IssacLDAPFINDERLIST 객체의 참조값
      • Add

        public void Add​(java.lang.String ip,
                        int port,
                        java.lang.String basedn,
                        java.lang.String certattribute,
                        java.lang.String crlattribute,
                        java.lang.String finding_base)
                 throws IssacSDKException
        LDAPFINDERLIST에 새로운 LDAPFINDER를 추가한다.

        finding_base는 찾고자하는 DN에서 이 finding_base string이 발견되면( finding_base가 DN의 substring이면)이 LDAPFINDER를 사용하는 것으로 한다.
        finding_base가 발견되면 ip와 port, 그리고 basedn에 들어있는 정보를 이용하여 ldap에 접속을 하며, 인증서를 찾을 경우에는 certattribute에 들어있는 string을 attribute name으로 하여 인증서를 찾으면, crlattribute에 들어가있는 string으로 crl을 찾는다.

        Parameters:
        ip - [IN] LDAP 서버의 IP
        port - [IN] LDAP 서버의 포트 번호
        basedn - [IN] 시작지점으로 사용할 basedn
        certattribute - [IN] LDAP 서버에서 인증서를 가져올 때 인증서의 attribute name
        crlattribute - [IN] LDAP 서버에서 crl을 가져올 때 crl의 attribute name
        finding_base - [IN] dn에서 찾을 substring( ex: o=Penta Security Systems,c=KR )
        Throws:
        IssacSDKException - 오류 발생
        See Also:
        IssacLDAPFINDERLIST()
      • Delete

        public void Delete()
                    throws IssacSDKException
        Deprecated.
        Resource Leak 의 효율적인 관리를 위해 close() 를 사용할 것을 권장함.
        IssacLDAPFINDERLIST 객체의 정보를 메모리에서 삭제한다.
        Throws:
        IssacSDKException - 오류 발생
        See Also:
        IssacLDAPFINDERLIST()
      • close

        public void close()
                   throws IssacSDKException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        IssacSDKException