public class DefaultRealmMapper extends Object implements IRealmMapper
| Constructor and Description |
|---|
DefaultRealmMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMapping(String returnToUrl) |
void |
setRealmMapping(Map<String,String> realmMapping)
Maps the return_to url to a realm, for example:
|
public String getMapping(String returnToUrl)
getMapping in interface IRealmMapperpublic void setRealmMapping(Map<String,String> realmMapping)
http://www.example.com/j_spring_openid_security_check -> http://www.example.com/realmIf no mapping is provided then the returnToUrl will be parsed to extract the protocol, hostname and port followed by a trailing slash. This means that http://www.example.com/j_spring_openid_security_check will automatically become http://www.example.com:80/
realmMapping - containing returnToUrl -> realm mappingsCopyright © 2014 Molindo GmbH. All Rights Reserved.