Glassfish 3.1. 2 JDBC realm has a new password encryption algorithm field what is it?

The GlassFish JDBC realm has several different properties that you can set

I'm interested in digest algorithm and password encryption algorithm (this is displayed in the management console)

The second is GlassFish 3.1 2's new features, as I know

I have consulted the official GlassFish 3.1 1 documentation, but does not solve the new attribute and does not really explain what the first attribute is used

A documentation bug refers to an error number (13363269), which must point to a stopped error system because I can't find the error it refers to This phantom bug may specify cryptographic algorithm properties, but it seems to be lost after lost time

From the command line, the attribute is named (impossible): digestealm password enc algorithm It looks like it's next to the digest algorithm attribute

I tried to read source code, but the JDBC realm Java file appears to be missing, although I'm undoubtedly just looking at the wrong place I found that the previous copy did not reference this property anywhere

What are these two properties? I have a hazy feeling. Together, they ensure that if I use this domain to log in with a clear text password, I can delegate hash and comparison operations to the domain in some way. Of course, hash is used to store the original password and the hash calculation method used on the input password is the same

The manual also states that if I want to use digest authentication, I should specify the JDBC digestrealm JAAS context If I don't want to use digest authentication, I should specify the JDBC realm JAAS context To me, this looks like another place where I effectively specify what type of hash algorithm

Thank you in advance for any pointers

Solution

Add a direct link because it took me 20 minutes to find it: –/

https://svn.java.net/svn/glassfish ~svn/tags/3.1. 2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/jdbc/JDBCRealm. java

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>