![JAR search and dependency download from the Maven repository](/logo.png)
com.jk.webstack.security.MyAuthMapper Maven / Gradle / Ivy
/*
* Copyright 2002-2022 Dr. Jalal Kiswani.
* Email: [email protected]
* Check out https://smart-api.com for more details
*
* All the opensource projects of Dr. Jalal Kiswani are free for personal and academic use only,
* for commercial usage and support, please contact the author.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.jk.webstack.security;
import java.util.Collection;
import java.util.List;
import java.util.Vector;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper;
// TODO: Auto-generated Javadoc
/**
* The Class MyAuthMapper.
*/
public class MyAuthMapper implements GrantedAuthoritiesMapper {
/**
* Map authorities.
*
* @param authorities the authorities
* @return the collection
*/
@Override
public Collection extends GrantedAuthority> mapAuthorities(Collection extends GrantedAuthority> authorities) {
List list=new Vector();
for (GrantedAuthority grantedAuthority : authorities) {
}
return list;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy