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

edu.uiuc.ncsa.security.servlet.TrivialUsernameTransformer Maven / Gradle / Ivy

There is a newer version: 4.3
Show newest version
package edu.uiuc.ncsa.security.servlet;

import javax.servlet.http.HttpServletRequest;

/**
 * This transformation is trivial, i.e. it returns a null
 * myproxy username and the returned username is simply the passed-in
 * . This is the default on the server unless you specifically override
 * this class/implement your own {@link UsernameTransformer} class and set it in the
 * service environment.
 * 

Created by Jeff Gaynor
* on 1/9/14 at 10:17 AM */ public class TrivialUsernameTransformer implements UsernameTransformer { @Override public String createMyProxyUsername(HttpServletRequest request) { return null; } @Override public String createReturnedUsername(HttpServletRequest request, String myproxyUsername) { return myproxyUsername; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy