- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setSubject (0.44 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
when(mock.getSubject()).thenReturn(subject); doNothing().when(mock).login(); })) { KerberosCredentials credentials = new KerberosCredentials(LOGIN_CONTEXT_NAME); assertNotNull(credentials.getSubject()); assertEquals(subject, credentials.getSubject()); } } /** * Test constructor when login fails.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
*/ public KerberosCredentials(String loginContextName) throws LoginException { LoginContext lc = new LoginContext(loginContextName); lc.login(); this.subject = lc.getSubject(); } /** * Retrieves all Kerberos keys from the authenticated subject. * * @return array of KerberosKey objects */ public KerberosKey[] getKeys() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
/** * Get the security subject associated with these credentials. * @return subject associated with the credentials */ Subject getSubject(); /** * Refresh the credentials. * @throws CIFSException if refresh fails */ void refresh() throws CIFSException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} /** * Sets an object in the current request attributes. * * @param name The attribute name * @param value The attribute value */ public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } /** * Gets an object from the current request attributes. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
throws SmbException { // Not used within these tests throw new SmbException("not used in tests"); } @Override public Subject getSubject() { return null; // not relevant for renew() behavior } @Override public void refresh() throws CIFSException { // no-op for tests } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)