delegation이 우리말로 해석하면 어떤 단어인가요?
조회수 958회
Spring Securtiy 관련 글을 읽고 있습니다.
delegate , delegation 단어가 많이 나오는데, 우리말로 뭐라고 해석하나요?
영어로 검색하니깐 클래스 간의 어떤 관계인것 같은데 잘 모르겠습니다. 아래는 원문입니다.
The most commonly used implementation of AuthenticationManager
is ProviderManager
, which delegates to a chain of AuthenticationProvider
instances.
An AuthenticationProvider
is a bit like an AuthenticationManager
but it has an extra method to allow the caller to query if it supports a given Authentication type:
-
(•́ ✖ •̀)
알 수 없는 사용자
2 답변
-
무슨 문서를 보시다가 나온건지 모르겠지만.. 아마도 Delegation pattern과 관련되어 보입니다.
자세한 내용은 여기를 봐 주세요.
https://en.wikipedia.org/wiki/Delegation_pattern
제가 아주 간략하게 표현하자면. 어떤 기능을 만드는데, 해당 기능을 해당 소스코드에서 처리하지 않고. 다른 곳에다가 대신 해달라고 위임(Delegation)하는 겁니다.
어떻게 보자면 우리가 자주 사용하는 Function도 Delegation 이라고 볼 수 있겠네요 ...
보통 Delegation 이라는 용어를 사용하는 때에는 규모가 크고 독립적인 경우가 많은 것 같네요.
예를 들어서, 서버 프로그래밍에서. Data를 다루는 부분은 DB에 Delegation 하고 .. I/O 도 다른 Thread 에게 Delegation 하고 .. 보통 그런 논리적, 쓰레드적인 단위로 나누는 것 같네요.
-
AuthenticationManager의 가장 일반적으로 사용되는 구현은 AuthenticationProvider 인스턴스 체인에 위임하는 ProviderManager입니다.
AuthenticationProvider는 AuthenticationManager와 약간 유사하지만 호출자가 지정된 인증 유형을 지원하는지 쿼리할 수 있는 추가 방법이 있습니다.
라고 해석할수 있는데 그럼 여기서 delegation은 ~위임/~위임하는 으로 보시면 적당(?)할 것 같네요.
댓글 입력