Revision 51031
Added by Panagiotis Kanakakis about 6 years ago
modules/uoa-repository-manager-gui/branches/aai/src/main/java/eu/dnetlib/repo/manager/server/services/UserServiceImpl.java | ||
---|---|---|
254 | 254 |
public Tuple<UserProfile, String> checkCookie() throws Exception { |
255 | 255 |
OIDCAuthenticationToken authentication; |
256 | 256 |
try { |
257 |
LOGGER.debug(SecurityContextHolder.getContext()); |
|
258 |
LOGGER.debug(SecurityContextHolder.getContext().getAuthentication()); |
|
257 | 259 |
authentication = (OIDCAuthenticationToken) SecurityContextHolder.getContext().getAuthentication(); |
258 | 260 |
UserProfile userProfile = new UserProfile(); |
259 | 261 |
userProfile.setFirstname(authentication.getUserInfo().getGivenName()); |
modules/uoa-repository-manager-gui/branches/aai/src/main/webapp/RepositoryManager.html | ||
---|---|---|
430 | 430 |
|
431 | 431 |
<ul class="uk-navbar-nav"> |
432 | 432 |
<li class="uk-parent"> |
433 |
<a class="loginLink" href="/repomanager-aai/openid_connect_login">
|
|
433 |
<a class="loginLink" href="beta.services.openaire.eu:8380/provide-user-management/openid_connect_login">
|
|
434 | 434 |
<span class="uk-margin-small-right uk-icon"><svg height="20" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.9" cy="6.4" fill="none" r="4.4" stroke="#000" stroke-width="1.1"></circle><path d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2" fill="none" stroke="#000" stroke-width="1.1"></path></svg> |
435 | 435 |
</span> |
436 | 436 |
Sign in | Register |
Also available in: Unified diff
1. Update aai link to beta services.
2. Message for previous commit -> merge trunk version 50372 with branch aai