Jared Frees
927c04b9d4
GUACAMOLE-524: Removed unused imports, fixed comments, and condensed
...
code
2018-06-21 11:02:18 -04:00
Jared Frees
cb4f284760
GUACAMOLE-524: Changed this to super and removed debugging stuff
2018-06-15 12:20:02 -04:00
Jared Frees
f24a6a8b9d
GUACAMOLE-524: Added attributes in ModeledAuthenticatedUser
2018-06-15 10:53:48 -04:00
Jared Frees
0964c46f4f
GUACAMOLE-524: Fixed RegEx for attribute tokens by removing ':'
2018-06-15 10:53:18 -04:00
Jared Frees
653b4e0134
Updated JavaDoc for addStandardTokens
2018-06-14 11:15:57 -04:00
Jared Frees
49c3f11854
GUACAMOLE-524: Changed addStandardTokens so user.getAttributes is called
2018-06-14 11:08:50 -04:00
Jared Frees
3d4f465c10
GUACAMOLE-524: Fixed Order of imports
2018-06-13 14:12:50 -04:00
Jared Frees
590f7311db
GUACAMOLE-524: Updated comments and imports
2018-06-13 11:31:03 -04:00
Jared Frees
58c8f3e111
GUACAMOLE-524: Fixed Javadoc and removed unnecessary methods
2018-06-13 10:34:41 -04:00
Jared Frees
4791adaa46
GUACAMOLE-524: Fixed up code style and comments
...
Also added Override tag in AbstractAuthenticatedUser on getAttributes
and setAttributes.
2018-06-12 16:21:52 -04:00
Jared Frees
36bbdce7b1
GUACAMOLE-524: Fix order of imports.
2018-06-12 11:46:21 -04:00
Jared Frees
cde13be0cf
GUACAMOLE-524: Add implements Attributes
2018-06-12 11:45:06 -04:00
Jared Frees
fa33c98ddc
GUACAMOLE-524: Implements Attributes and provides getAttributes and setAttributes default methods
2018-06-12 11:44:10 -04:00
Jared Frees
00b33daea7
GUACAMOLE-524: Fixed try block, exceptions, and import order
2018-06-12 11:42:30 -04:00
Jared Frees
d27f8f9b3e
GUACAMOLE-524: Removed weird casting
2018-06-12 11:40:50 -04:00
Jared Frees
3548f8c655
GUACAMOLE-524: Removed implements Attributes and fixed up code
2018-06-12 11:37:31 -04:00
Jared Frees
862ab91432
GUACAMOLE-524: Implemented getAttributes and setAttributes to satisfy
...
Attributes interface addition
2018-06-12 11:33:14 -04:00
Jared Frees
3abc996658
GUACAMOLE-524: Add custom attribute tokens with tokenFilter
2018-06-11 15:15:31 -04:00
Jared Frees
f5f9f62786
GUACAMOLE-524: Changed to use AuthenticatedUser instead of Credentials
...
Fixed up some code style and add attributes in AuthenticatedUser object.
2018-06-11 15:14:18 -04:00
Jared Frees
64e29b952b
GUACAMOLE-524: Add arbitrary attributes on AuthenticatedUser
...
Add attribute map to AuthenticatedUser along with methods for
retrieving and setting map. Also, make AuthenticatedUser
implement Attributes.
2018-06-11 15:05:20 -04:00
Jared Frees
165d3d0d0d
GUACAMOLE-524: Add Custom Attributes to Tokens
...
Added method to add custom map of tokens to StandardTokens.
2018-06-11 14:59:12 -04:00
Jared Frees
4c1281d8c2
GUACAMOLE-524: Removed changes to Credentials
2018-06-11 11:17:06 -04:00
Jared Frees
ad6be80131
GUACAMOLE-524: Add LDAP attribute tokens to StandardTokens.
...
In method addStandardTokens(TokenFilter, Credentials),
adds each LDAP attribute from credentials.getLDAPAttributes().
Name of token is "USER_ATTR:" + name of attribute and value
is the value of the attribute.
2018-06-08 15:06:00 -04:00
Jared Frees
5ca32a221a
GUACAMOLE-524: Add LDAP attributes to credentials.
...
AuthenticationProviderService gets LDAP attributes
from confService and queries the LDAP server to
find values on user for specified attributes.
Added a Map<String, String> to Credentials named ldapAttrs
and a getLDAPAttributes() and setLDAPAttributes() to
manipulate ldapAttrs on credentials. Once
AuthenticationProviderService gets the values for the
LDAP attributes it sets ldapAttrs on the credentials object.
2018-06-08 15:05:59 -04:00
Jared Frees
38eb97b422
GUACAMOLE-524: Added reading of LDAP attributes in guacamole.properties named 'ldap-user-attributes'.
...
Added method getAttributes() in ConfigurationService to read environment property
LDAPGuacamoleProperties.LDAP_USER_ATTRIBUTES. These
attributes are arbitrary LDAP attributes that will
be mapped to the user in credentials and
tokens.
2018-06-08 15:04:11 -04:00