You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2019/01/17 13:10:30 UTC

[tomee] 16/17: TOMEE-2365 - Restricted setDelegate method.

This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit e85cce8c36a24443444cd9ef302b0fc4b146af35
Author: Roberto Cortez <ra...@yahoo.com>
AuthorDate: Thu Jan 17 12:30:56 2019 +0000

    TOMEE-2365 - Restricted setDelegate method.
---
 .../org/apache/tomee/security/cdi/DefaultAuthenticationMechanism.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tomee/tomee-security/src/main/java/org/apache/tomee/security/cdi/DefaultAuthenticationMechanism.java b/tomee/tomee-security/src/main/java/org/apache/tomee/security/cdi/DefaultAuthenticationMechanism.java
index 0819eeb..3811e7f 100644
--- a/tomee/tomee-security/src/main/java/org/apache/tomee/security/cdi/DefaultAuthenticationMechanism.java
+++ b/tomee/tomee-security/src/main/java/org/apache/tomee/security/cdi/DefaultAuthenticationMechanism.java
@@ -54,7 +54,7 @@ public class DefaultAuthenticationMechanism implements HttpAuthenticationMechani
         delegate.cleanSubject(request, response, httpMessageContext);
     }
 
-    public void setDelegate(final HttpAuthenticationMechanism delegate) {
+    void setDelegate(final HttpAuthenticationMechanism delegate) {
         this.delegate = delegate;
     }