All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.msl.userauth.ProxyMslUser Maven / Gradle / Ivy

There is a newer version: 1.2226.0
Show newest version
package com.netflix.msl.userauth;

import com.netflix.msl.tokens.MslUser;

/**
 * 

A MSL user that is just the user ID.

*/ public class ProxyMslUser implements MslUser { /** *

Create a new MSL user with the given user ID.

* * @param userId the user ID. */ public ProxyMslUser(final String userId) { this.userId = userId; } /** * @return the user ID. */ public String getUserId() { return userId; } /* (non-Javadoc) * @see com.netflix.msl.tokens.MslUser#getEncoded() */ @Override public String getEncoded() { return userId; } /* (non-Javadoc) * @see java.lang.Object#toString() */ @Override public String toString() { return userId; } /** User string representation. */ private final String userId; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy