[jcifs] SMB SSO on Windows desktop application
Michael B Allen
ioplex at gmail.com
Sat Jan 29 20:46:08 MST 2011
Hi Javier,
No. JCIFS does not have access to the Windows credential cache. That
would require some platform specific code and I somewhat doubt that it
could be done entirely using Java anyway. When Kerberos is
implemented, this might change since I believe Java does have access
to the the Kerberos credential cache and it would not require platform
specific code.
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
On Mon, Jan 24, 2011 at 8:06 AM, Javier Sedano
<javier.sedano at novabase.es> wrote:
> Hi, friends,
>
> I am newbie with jcifs, so please be patient ;-)
>
> I am trying to use jcifs to read and write files from a SMB share. It is a
> desktop app, not a web app, so the jcifs runs with user permissions. So I do not
> want to provide domain;user:passwd in the url or in any other place: I want the
> app to use the credentials of the user running the application.
>
> Is it possible? 6 hours ago I would have bet it was, but currently I am not
> that sure...
>
>
>
> My fallback is to mount \\server\path to f:, read f:\file.txt and dismount f:,
> but I would not like to do so, because I must handle several smb shares and it
> would be an architectural pain.
>
>
>
> Any other idea?
>
>
> Thanks in advance
>
> J
>
>
>
More information about the jCIFS
mailing list