Hi All,
In "jira 4.3" I get current username login in session with code jsp follow:
<%@page import="com.opensymphony.user.User" %>
<%
User _user=null;
String _fullName="";
if (session.getAttribute("seraph_defaultauthenticator_user")!=null){
_user=(User)session.getAttribute("seraph_defaultauthenticator_user");_fullName=_user.getFullName();
}
%>
package "com.opensymphony.user" in file: "jira-api-4.3.4.jar"
But the code jsp above is not working on jira 5.2.
System show error: not found package: com.opensymphony.user.User.
And I not find package "com.opensymphony.user" in file "jira-api-5.2.4.1.jar".
You can help me get current username login from code jsp and run on jira 5.2 ?
Thanks you very much !
OpenSymphony User handling was replaced with embedded crowd from Jira 4.3
I don't know if that is exposed in the session in the same way, but if it is, it would be a bit like om.atlassian.crowd.embedded.api.User
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should use com.atlassian.crowd.embedded.api.User instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.