Foros de discusión
How to programmatically get license info in portlet.
Kamil Ruszczyk, modificado hace 6 años.
How to programmatically get license info in portlet.
New Member Mensajes: 3 Fecha de incorporación: 16/12/15 Mensajes recientes
Hi,
I'm trying to get license info in my portlet. I am trying to use class LicenseUtil, but using its functions causes this exception:
Caused by: java.lang.ClassNotFoundException: org.apache.http.auth.Credentials
I'm guessing that it is caused because I am using this class outside the Admin Panel?
If you know how to obtain license data programmatically, please share your knowledge.
I'm trying to get license info in my portlet. I am trying to use class LicenseUtil, but using its functions causes this exception:
Caused by: java.lang.ClassNotFoundException: org.apache.http.auth.Credentials
I'm guessing that it is caused because I am using this class outside the Admin Panel?
If you know how to obtain license data programmatically, please share your knowledge.
Olaf Kock, modificado hace 6 años.
RE: How to programmatically get license info in portlet.
Liferay Legend Mensajes: 6396 Fecha de incorporación: 23/09/08 Mensajes recientes
Can you provide a (minimal) code sample (giving the actual method you call), and include the version that you're referring to?
Amos Fong, modificado hace 6 años.
RE: How to programmatically get license info in portlet.
Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
Are you referring to the license info in control panel > license manager?