Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 165 for Authenticators (0.26 sec)

  1. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

        public void test_addGroupOrRoleName() {
            AzureAdAuthenticator authenticator = new AzureAdAuthenticator();
            List<String> list = new ArrayList<>();
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", true);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol.go

    type ProtocolAuthenticator struct {
    	// auth is the token authenticator to use to validate the token
    	auth authenticator.Token
    }
    
    func NewProtocolAuthenticator(auth authenticator.Token) *ProtocolAuthenticator {
    	return &ProtocolAuthenticator{auth}
    }
    
    func (a *ProtocolAuthenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
    	// Only accept websocket connections
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. pkg/registry/authentication/rest/storage_authentication.go

    	"k8s.io/kubernetes/pkg/registry/authentication/selfsubjectreview"
    	"k8s.io/kubernetes/pkg/registry/authentication/tokenreview"
    )
    
    type RESTStorageProvider struct {
    	Authenticator authenticator.Request
    	APIAudiences  authenticator.Audiences
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/serviceaccount/jwt.go

    func JWTTokenAuthenticator(issuers []string, keys []interface{}, implicitAuds authenticator.Audiences, validator Validator) authenticator.Token {
    	issuersMap := make(map[string]bool)
    	for _, issuer := range issuers {
    		issuersMap[issuer] = true
    	}
    	return &jwtTokenAuthenticator{
    		issuers:      issuersMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    func TestNewKubeJWTAuthenticator(t *testing.T) {
    	meshHolder := mockMeshConfigHolder{"testdomain.com"}
    	authenticator := NewKubeJWTAuthenticator(meshHolder, nil, constants.DefaultClusterName, nil)
    	expectedAuthenticator := &KubeJWTAuthenticator{
    		meshHolder: meshHolder,
    		clusterID:  constants.DefaultClusterName,
    	}
    	if !reflect.DeepEqual(authenticator, expectedAuthenticator) {
    		t.Errorf("Unexpected authentication result: want %v but got %v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authenticator/token/bootstrap/bootstrap.go

    limitations under the License.
    */
    
    /*
    Package bootstrap provides a token authenticator for TLS bootstrap secrets.
    */
    package bootstrap
    
    import (
    	"context"
    	"crypto/subtle"
    	"fmt"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apiserver/pkg/authentication/authenticator"
    	"k8s.io/apiserver/pkg/authentication/user"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 20:38:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. pkg/registry/authentication/tokenreview/storage.go

    	"k8s.io/apiserver/pkg/authentication/authenticator"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/apis/authentication"
    )
    
    var badAuthenticatorAuds = apierrors.NewInternalError(errors.New("error validating audiences"))
    
    type REST struct {
    	tokenAuthenticator authenticator.Request
    	apiAudiences       []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    	pb.UnimplementedIstioCertificateServiceServer
    	Certs         []string
    	Authenticator *security.FakeAuthenticator
    	Err           error
    }
    
    func (ca *mockCAServer) CreateCertificate(ctx context.Context, in *pb.IstioCertificateRequest) (*pb.IstioCertificateResponse, error) {
    	if ca.Authenticator != nil {
    		caller, err := security.Authenticate(ctx, []security.Authenticator{ca.Authenticator})
    		if caller == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    return false;
                }
                final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class);
                final String refreshToken = authResult.getRefreshToken();
                authResult = authenticator.getAccessToken(refreshToken);
                authenticator.updateMemberOf(this);
                permissions = null;
                return true;
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go

    	headerAuthenticator := NewDynamic(nameHeaders, groupHeaders, extraHeaderPrefixes)
    
    	return x509request.NewDynamicCAVerifier(verifyOptionFn, headerAuthenticator, proxyClientNames)
    }
    
    func (a *requestHeaderAuthRequestHandler) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:19:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top