iosys.cxx (e1f63238) iosys.cxx (0848378b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 260 unchanged lines hidden (view full) ---

269 const Reference< XBridge >* pBridges = aBridgeSeq.getConstArray();
270 bRetVal = sal_False; // Now only sal_True if user different from portal user is found
271 sal_Int32 i;
272 for( i = 0 ; i < nBridgeCount ; i++ )
273 {
274 const Reference< XBridge >& rxBridge = pBridges[ i ];
275 ::rtl::OUString aDescription = rxBridge->getDescription();
276 ::rtl::OUString aPortalUser = findUserInDescription( aDescription );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 260 unchanged lines hidden (view full) ---

269 const Reference< XBridge >* pBridges = aBridgeSeq.getConstArray();
270 bRetVal = sal_False; // Now only sal_True if user different from portal user is found
271 sal_Int32 i;
272 for( i = 0 ; i < nBridgeCount ; i++ )
273 {
274 const Reference< XBridge >& rxBridge = pBridges[ i ];
275 ::rtl::OUString aDescription = rxBridge->getDescription();
276 ::rtl::OUString aPortalUser = findUserInDescription( aDescription );
277 if( aPortalUser.getLength() > 0 )
277 if( !aPortalUser.isEmpty() )
278 {
279 // User Found, compare to system user
280 if( aPortalUser == aSystemUser )
281 {
282 // Same user -> system security is ok, bRetVal stays FALSE
283 break;
284 }
285 else

--- 759 unchanged lines hidden ---
278 {
279 // User Found, compare to system user
280 if( aPortalUser == aSystemUser )
281 {
282 // Same user -> system security is ok, bRetVal stays FALSE
283 break;
284 }
285 else

--- 759 unchanged lines hidden ---