Este conteúdo não está disponível no idioma selecionado.
16.70. Security and Authentication
As we'll see in the next section, the main method that connectors use to process requests takes an
ExecutionContext, which contains the JAAS security information of the subject performing the request. This means that the connector can use this to determine authentication and authorization information for each request.
Sometimes that is not sufficient. For example, it may be that the connector needs its own authorization information so that it can establish a connection (even if user-level privileges still use the
ExecutionContext provided with each request). In this case, the RepositorySource implementation will probably need JavaBean properties that represent the connector's authentication information. This may take the form of a username and password, or it may be properties that are used to delegate authentication to JAAS . Either way, just realize that it is perfectly acceptable for the connector to require its own security properties.