Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Issue with new classes of LDAP
Hi all.I am facing an issue with Liferay 7.1
I have a Liferay 7.1 which is connected to an LDAP.I am trying to access to LDAP attributes but I am not able to do it. In previous versions of Liferay, I used PortalLdapUtil, but it is no longer available.
I trying adding this to my class:
@Reference(
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY
)
private volatile PortalLDAP _portalLDAP;
but _portalLDAP is always null.
Can anyone give me ideas? I would appreciate any help.
Thanks in advance
I have a Liferay 7.1 which is connected to an LDAP.I am trying to access to LDAP attributes but I am not able to do it. In previous versions of Liferay, I used PortalLdapUtil, but it is no longer available.
I trying adding this to my class:
@Reference(
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY
)
private volatile PortalLDAP _portalLDAP;
but _portalLDAP is always null.
Can anyone give me ideas? I would appreciate any help.
Thanks in advance
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™