Revision c35f359f src/gr/ebs/gss/server/domain/User.java
b/src/gr/ebs/gss/server/domain/User.java | ||
---|---|---|
121 | 121 |
private String email; |
122 | 122 |
|
123 | 123 |
/** |
124 |
* A persistent ID provided by Shibboleth.
|
|
124 |
* A unique ID provided by the Shibboleth IdP.
|
|
125 | 125 |
*/ |
126 |
private String persistentId; |
|
126 |
@SuppressWarnings("unused") |
|
127 |
private String identityProviderId; |
|
128 |
|
|
129 |
/** |
|
130 |
* The IdP URL. |
|
131 |
*/ |
|
132 |
@SuppressWarnings("unused") |
|
133 |
private String identityProvider; |
|
127 | 134 |
|
128 | 135 |
/** |
129 | 136 |
* The date and time the user last logged into the service. |
... | ... | |
382 | 389 |
} |
383 | 390 |
|
384 | 391 |
/** |
385 |
* Modify the persistentId. |
|
386 |
* |
|
387 |
* @param aPersistentId the persistentId to set |
|
388 |
*/ |
|
389 |
public void setPersistentId(String aPersistentId) { |
|
390 |
persistentId = aPersistentId; |
|
391 |
} |
|
392 |
|
|
393 |
/** |
|
394 |
* Retrieve the persistentId. |
|
395 |
* |
|
396 |
* @return the persistentId |
|
397 |
*/ |
|
398 |
public String getPersistentId() { |
|
399 |
return persistentId; |
|
400 |
} |
|
401 |
|
|
402 |
/** |
|
403 | 392 |
* Modify the lastLogin. |
404 | 393 |
* |
405 | 394 |
* @param aLastLogin the lastLogin to set |
... | ... | |
446 | 435 |
|
447 | 436 |
|
448 | 437 |
|
438 |
|
|
439 |
/** |
|
440 |
* Modify the identityProviderId. |
|
441 |
* |
|
442 |
* @param anIdentityProviderId the identityProviderId to set |
|
443 |
*/ |
|
444 |
public void setIdentityProviderId(String anIdentityProviderId) { |
|
445 |
identityProviderId = anIdentityProviderId; |
|
446 |
} |
|
447 |
|
|
448 |
|
|
449 |
/** |
|
450 |
* Modify the identityProvider. |
|
451 |
* |
|
452 |
* @param anIdentityProvider the identityProvider to set |
|
453 |
*/ |
|
454 |
public void setIdentityProvider(String anIdentityProvider) { |
|
455 |
identityProvider = anIdentityProvider; |
|
456 |
} |
|
457 |
|
|
449 | 458 |
/** |
450 | 459 |
* Retrieve the authentication token. If it is not valid |
451 | 460 |
* or non-existent, this method returns null. Therefore, call |
Also available in: Unified diff