Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for subject (0.15 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Test the cloning behavior with both null and non-null cached subjects
            if (first != null) {
                // If we got a valid subject, test that it's properly cached and cloned
                Subject cachedOrig = orig.getSubject();
                assertNotNull(cachedOrig);
    
                // Cached subject is copied and visible via getSubject()
                Subject copySubj = copy.getSubject();
                assertNotNull(copySubj);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
                lc.login();
    
                Subject s = lc.getSubject();
                if (log.isDebugEnabled()) {
                    log.debug("Got subject: " + s.getPrincipals());
                }
                if (log.isTraceEnabled()) {
                    log.trace("Got subject " + s);
                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                }
            }
        }
    
        private static byte[] createToken(final SSPContext ctx, final byte[] token, Subject s) throws CIFSException {
            if (s != null) {
                try {
                    return Subject.doAs(s,
                            (PrivilegedExceptionAction<byte[]>) () -> ctx.initSecContext(token, 0, token == null ? 0 : token.length));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    Create a real JWT access token and return it.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    ### Technical details about the JWT "subject" `sub` { #technical-details-about-the-jwt-subject-sub }
    
    The JWT specification says that there's a key `sub`, with the subject of the token.
    
    It's optional to use it, but that's where you would put the user's identification, so we are using it here.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * Two <code>NtlmPasswordAuthentication</code> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof NtlmPasswordAuthenticator ntlm) {
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/security/oauth2-jwt.md

    ## `/token` パスオペレーションの更新
    
    トークンの有効期限を表す`timedelta`を作成します。
    
    JWTアクセストークンを作成し、それを返します。
    
    {* ../../docs_src/security/tutorial004.py hl[115:130] *}
    
    ### JWTの"subject" `sub` についての技術的な詳細
    
    JWTの仕様では、トークンのsubjectを表すキー`sub`があるとされています。
    
    使用するかどうかは任意ですが、`sub`はユーザーの識別情報を入れるように規定されているので、ここで使用します。
    
    JWTは、ユーザーを識別して、そのユーザーがAPI上で直接操作を実行できるようにする以外にも、他の用途で使用されることがあります。
    
    例えば、「車」や「ブログ記事」を識別することができます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (1)
  8. docs/ko/docs/tutorial/security/oauth2-jwt.md

    ## `/token` 경로 작업 수정
    
    토큰의 만료 시각을 설정하기 위해 `timedelta` 를 생성합니다.
    
    실제 JWT 액세스 토큰을 생성하여 반환합니다.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    ### JWT "주체(subject)" `sub`에 대한 기술 세부 사항
    
    JWT 명세에 따르면 토큰의 주체를 포함하는 `sub`라는 키가 있습니다.
    
    사용 여부는 선택사항이지만, 사용자의 식별 정보를 저장할 수 있으므로 여기서는 이를 사용합니다.
    
    JWT는 사용자를 식별하고 사용자가 API를 직접 사용할 수 있도록 허용하는 것 외에도 다른 용도로 사용될 수도 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    }
    
    // DeleteObjectTags - delete object tags from an existing object
    func (er erasureObjects) DeleteObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	return er.PutObjectTags(ctx, bucket, object, "", opts)
    }
    
    // GetObjectTags - get object tags from an existing object
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top