Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 543 for Validate (0.06 sec)

  1. cmd/sts-handlers.go

    		}
    	}
    
    	if !globalIAMSys.Initialized() {
    		writeSTSErrorResponse(ctx, w, ErrSTSIAMNotInitialized, errIAMNotInitialized)
    		return
    	}
    
    	// Validate JWT; check clientID in claims matches the one associated with the roleArn
    	if err := globalIAMSys.OpenIDConfig.Validate(r.Context(), roleArn, token, accessToken, r.Form.Get(stsDurationSeconds), claims); err != nil {
    		switch err {
    		case openid.ErrTokenExpired:
    			switch action {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginConfigurationValidator.java

    /**
     * Service responsible for validating plugin configuration.
     *
     */
    public interface MavenPluginConfigurationValidator {
        /**
         * Checks mojo configuration issues.
         */
        void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginValidator.java

    /**
     * DefaultMavenPluginValidator
     */
    @Named
    @Singleton
    class DefaultMavenPluginValidator implements MavenPluginValidator {
    
        @Override
        public void validate(Artifact pluginArtifact, PluginDescriptor pluginDescriptor, List<String> errors) {
            if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/noncurrentversion_test.go

    				NoncurrentDays:          0,
    				NewerNoncurrentVersions: 5,
    				set:                     true,
    			},
    			err: nil,
    		},
    	}
    
    	for i, tc := range testcases {
    		if got := tc.n.Validate(); got != tc.err {
    			t.Fatalf("%d: expected %v but got %v", i+1, tc.err, got)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

         * @return HTML response after sending test mail
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse sendmail(final MailForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminGeneral_AdminGeneralJsp));
    
            final String[] toAddresses = form.notificationTo.split(",");
            final Map<String, Object> dataMap = new HashMap<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

         * @return HTML response redirecting to the plugin list
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
            verifyToken(() -> asHtml(path_AdminPlugin_AdminPluginJsp));
            final Artifact artifact = new Artifact(form.name, form.version, null);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     * This class is used to encapsulate the header information for HTTP requests.
     * It provides methods to get and set the name and value of the header,
     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            }
            return redirect(getClass());
        }
    
        private void validatePasswordForm(final ProfileForm form, final VaErrorHook validationErrorLambda) {
            validate(form, messages -> {}, validationErrorLambda);
    
            if (!form.newPassword.equals(form.confirmNewPassword)) {
                form.newPassword = null;
                form.confirmNewPassword = null;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

         */
        protected BuildSummary(MavenProject project, Duration execTime, Duration wallTime) {
            this.project = Objects.requireNonNull(project, "project cannot be null");
            // TODO Validate for < 0?
            this.execTime = execTime;
            this.wallTime = wallTime;
        }
    
        /**
         * Gets the project being summarized.
         *
         * @return The project being summarized, never {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. docs_src/security/tutorial004_an_py310.py

        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top