What is delegation in Korean?

Asked 2 years ago, Updated 2 years ago, 82 views

I'm reading about Spring Security.

There are a lot of delegate and delegation words, how do you interpret them in Korean?

As I searched in English, it seems to be a relationship between classes, but I don't know. Below is the original text.

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:

Original: spring-security-architecture

spring java

2022-09-22 18:29

2 Answers

I don't know what document you were looking at, but... Maybe it's related to the Delegation pattern.

For more information, see.

https://en.wikipedia.org/wiki/Delegation_pattern

To put it very briefly. You create a function, but you don't process it in that source code. I'm delegating it to someone else.

In a way, the function that we use often is also called delegation ...

......

Usually, when we use the term "delegation," it seems to be large and independent.

For example, in server programming. Delegate the data to the DB and ..Delegate I/O to other Threads and .. I think it's usually divided into those logical and threaded units.

........


2022-09-22 18:29

The most commonly used implementation of Authentication Manager is Provider Manager, which you delegate to the Authentication Provider instance chain.

The Authentication Provider is a bit like Authentication Manager, but there is an additional way to query whether the caller supports the specified authentication type.

It can be interpreted as that. Then, I think deregistration here would be appropriate if you look at it as delegation/delegation.


2022-09-22 18:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.